2016-11-25 14:34:00 -08:00
|
|
|
[package]
|
|
|
|
name = "moonfire-nvr"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
|
|
|
|
2016-12-09 22:04:35 -08:00
|
|
|
[features]
|
2017-03-02 19:29:28 -08: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.
|
|
|
|
nightly = ["parking_lot/nightly"]
|
2016-12-09 22:04:35 -08:00
|
|
|
|
2017-03-03 22:42:13 -08:00
|
|
|
# The bundled feature includes bundled (aka statically linked) versions of
|
|
|
|
# native libraries where possible.
|
|
|
|
bundled = ["rusqlite/bundled"]
|
|
|
|
|
2016-11-25 14:34:00 -08:00
|
|
|
[dependencies]
|
2017-01-27 20:58:04 -08:00
|
|
|
byteorder = "1.0"
|
2017-06-11 12:57:55 -07:00
|
|
|
docopt = "0.8"
|
2017-03-02 19:29:28 -08:00
|
|
|
futures = "0.1"
|
2017-10-21 21:54:27 -07:00
|
|
|
futures-cpupool = "0.1"
|
2016-11-25 14:34:00 -08:00
|
|
|
fnv = "1.0"
|
2017-10-21 22:35:24 -07:00
|
|
|
http-entity = { git = "https://github.com/scottlamb/http-entity" }
|
|
|
|
http-file = { git = "https://github.com/scottlamb/http-entity" }
|
2017-09-21 21:51:58 -07:00
|
|
|
hyper = "0.11.2"
|
2016-11-25 14:34:00 -08:00
|
|
|
lazy_static = "0.2"
|
|
|
|
libc = "0.2"
|
|
|
|
log = { version = "0.3", features = ["release_max_level_info"] }
|
|
|
|
lru-cache = "0.1"
|
2017-01-27 20:58:04 -08:00
|
|
|
memmap = "0.5"
|
2017-06-11 12:57:55 -07:00
|
|
|
mime = "0.3"
|
2017-09-20 21:06:06 -07:00
|
|
|
moonfire-ffmpeg = { path = "ffmpeg" }
|
2017-03-26 00:03:24 -07:00
|
|
|
mylog = { git = "https://github.com/scottlamb/mylog" }
|
2017-01-27 20:58:04 -08:00
|
|
|
openssl = "0.9"
|
2017-06-11 12:57:55 -07:00
|
|
|
parking_lot = { version = "0.4", features = [] }
|
2017-03-02 19:29:28 -08:00
|
|
|
reffers = { git = "https://github.com/diwic/reffers-rs" }
|
2017-01-12 23:09:02 -08:00
|
|
|
regex = "0.2"
|
2017-06-11 12:57:55 -07:00
|
|
|
rusqlite = "0.12"
|
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
smallvec = "0.4"
|
2016-11-25 14:34:00 -08:00
|
|
|
time = "0.1"
|
2017-03-02 19:29:28 -08:00
|
|
|
tokio-core = "0.1"
|
|
|
|
tokio-signal = "0.1"
|
2017-01-27 20:58:04 -08:00
|
|
|
url = "1.4"
|
2017-06-11 12:57:55 -07:00
|
|
|
uuid = { version = "0.5", features = ["serde", "v4"] }
|
2016-12-08 21:28:50 -08:00
|
|
|
|
2016-11-25 14:34:00 -08:00
|
|
|
[dev-dependencies]
|
2017-09-21 21:51:58 -07:00
|
|
|
reqwest = "0.7"
|
2016-11-25 14:34:00 -08:00
|
|
|
tempdir = "0.3"
|
|
|
|
|
2017-02-05 19:58:41 -08:00
|
|
|
[dependencies.cursive]
|
2017-06-11 12:57:55 -07:00
|
|
|
version = "0.5"
|
2017-02-05 19:58:41 -08:00
|
|
|
#default-features = false
|
2017-09-22 06:20:40 -07:00
|
|
|
#features = ["termion-backend"]
|
2017-02-05 19:58:41 -08:00
|
|
|
|
2016-11-25 14:34:00 -08:00
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
debug = true
|
2017-02-26 19:05:05 -08:00
|
|
|
|
|
|
|
[replace]
|
2017-09-22 06:20:40 -07:00
|
|
|
|
|
|
|
# This hyper fork has a patch to disable Nagle's algorithm.
|
2017-09-21 21:51:58 -07:00
|
|
|
"hyper:0.11.2" = { git = "https://github.com/scottlamb/hyper", branch = "moonfire-on-0.11.x" }
|
2017-09-22 06:20:40 -07:00
|
|
|
|
|
|
|
# The libc crate just added OS X support for clock_gettime, which Moonfire NVR
|
|
|
|
# needs. There hasn't been a release, so go straight to git for the moment.
|
|
|
|
# Do it for all platforms because [target.foo.replace] is apparently
|
|
|
|
# unsupported.
|
|
|
|
#[target.'cfg(target_os = "macos")'.replace]
|
|
|
|
#[target.x86_64-apple-darwin.replace]
|
|
|
|
"libc:0.2.31" = { git = "https://github.com/rust-lang/libc" }
|