2016-11-25 17:34:00 -05:00
|
|
|
[package]
|
|
|
|
name = "moonfire-nvr"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
|
|
|
|
2016-12-10 01:04:35 -05:00
|
|
|
[features]
|
2017-03-02 22:29:28 -05:00
|
|
|
|
|
|
|
# The nightly feature is used within moonfire-nvr itself to gate the
|
|
|
|
# benchmarks. Also pass it along to crates that can benefit from it.
|
2018-02-21 02:15:39 -05:00
|
|
|
nightly = ["moonfire-db/nightly", "parking_lot/nightly"]
|
2016-12-10 01:04:35 -05:00
|
|
|
|
2017-03-04 01:42:13 -05:00
|
|
|
# The bundled feature includes bundled (aka statically linked) versions of
|
|
|
|
# native libraries where possible.
|
|
|
|
bundled = ["rusqlite/bundled"]
|
|
|
|
|
2018-02-21 02:15:39 -05:00
|
|
|
[workspace]
|
2018-03-04 15:24:24 -05:00
|
|
|
members = ["base", "db", "ffmpeg"]
|
2018-02-21 02:15:39 -05:00
|
|
|
|
2016-11-25 17:34:00 -05:00
|
|
|
[dependencies]
|
2018-04-06 18:54:52 -04:00
|
|
|
bytes = "0.4.6"
|
2017-01-27 23:58:04 -05:00
|
|
|
byteorder = "1.0"
|
2018-08-25 01:06:14 -04:00
|
|
|
docopt = "1.0"
|
2018-02-21 01:46:14 -05:00
|
|
|
failure = "0.1.1"
|
2017-03-02 22:29:28 -05:00
|
|
|
futures = "0.1"
|
2017-10-22 00:54:27 -04:00
|
|
|
futures-cpupool = "0.1"
|
2016-11-25 17:34:00 -05:00
|
|
|
fnv = "1.0"
|
2018-04-06 18:54:52 -04:00
|
|
|
http = "0.1.5"
|
2018-08-25 01:06:14 -04:00
|
|
|
http-serve = { git = "https://github.com/scottlamb/http-serve", rev = "b361ee" }
|
2018-04-06 18:54:52 -04:00
|
|
|
hyper = "0.11.25"
|
2018-01-31 01:05:39 -05:00
|
|
|
lazy_static = "1.0"
|
2016-11-25 17:34:00 -05:00
|
|
|
libc = "0.2"
|
2018-01-31 01:05:39 -05:00
|
|
|
log = { version = "0.4", features = ["release_max_level_info"] }
|
2017-11-17 02:01:09 -05:00
|
|
|
memmap = "0.6"
|
2017-06-11 15:57:55 -04:00
|
|
|
mime = "0.3"
|
2018-03-04 15:24:24 -05:00
|
|
|
moonfire-base = { path = "base" }
|
2018-02-21 02:15:39 -05:00
|
|
|
moonfire-db = { path = "db" }
|
2017-09-21 00:06:06 -04:00
|
|
|
moonfire-ffmpeg = { path = "ffmpeg" }
|
2017-03-26 03:03:24 -04:00
|
|
|
mylog = { git = "https://github.com/scottlamb/mylog" }
|
2018-01-31 01:05:39 -05:00
|
|
|
openssl = "0.10"
|
2018-08-25 01:06:14 -04:00
|
|
|
parking_lot = { version = "0.6", features = [] }
|
2017-03-02 22:29:28 -05:00
|
|
|
reffers = { git = "https://github.com/diwic/reffers-rs" }
|
2018-08-25 01:06:14 -04:00
|
|
|
regex = "1.0"
|
|
|
|
rusqlite = "0.14"
|
2017-06-11 15:57:55 -04:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1.0"
|
2018-01-31 01:05:39 -05:00
|
|
|
smallvec = "0.6"
|
2016-11-25 17:34:00 -05:00
|
|
|
time = "0.1"
|
2017-03-02 22:29:28 -05:00
|
|
|
tokio-core = "0.1"
|
|
|
|
tokio-signal = "0.1"
|
2017-01-27 23:58:04 -05:00
|
|
|
url = "1.4"
|
2018-02-21 02:15:39 -05:00
|
|
|
uuid = { version = "0.6", features = ["serde", "std", "v4"] }
|
2016-12-09 00:28:50 -05:00
|
|
|
|
2016-11-25 17:34:00 -05:00
|
|
|
[dev-dependencies]
|
2017-11-17 02:01:09 -05:00
|
|
|
reqwest = "0.8"
|
2016-11-25 17:34:00 -05:00
|
|
|
tempdir = "0.3"
|
|
|
|
|
2017-02-05 22:58:41 -05:00
|
|
|
[dependencies.cursive]
|
2018-08-25 01:14:03 -04:00
|
|
|
version = "0.9"
|
2017-02-05 22:58:41 -05:00
|
|
|
#default-features = false
|
2017-09-22 09:20:40 -04:00
|
|
|
#features = ["termion-backend"]
|
2017-02-05 22:58:41 -05:00
|
|
|
|
2016-11-25 17:34:00 -05:00
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
debug = true
|
2017-02-26 22:05:05 -05:00
|
|
|
|
|
|
|
[replace]
|
2017-09-22 09:20:40 -04:00
|
|
|
|
|
|
|
# This hyper fork has a patch to disable Nagle's algorithm.
|
2018-01-31 01:05:39 -05:00
|
|
|
"hyper:0.11.16" = { git = "https://github.com/scottlamb/hyper", branch = "moonfire-on-0.11.x" }
|