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.
|
2018-02-20 23:15:39 -08:00
|
|
|
nightly = ["moonfire-db/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"]
|
|
|
|
|
2018-02-20 23:15:39 -08:00
|
|
|
[workspace]
|
2018-03-04 12:24:24 -08:00
|
|
|
members = ["base", "db", "ffmpeg"]
|
2018-02-20 23:15:39 -08:00
|
|
|
|
2016-11-25 14:34:00 -08:00
|
|
|
[dependencies]
|
2018-04-06 15:54:52 -07:00
|
|
|
bytes = "0.4.6"
|
2017-01-27 20:58:04 -08:00
|
|
|
byteorder = "1.0"
|
2017-06-11 12:57:55 -07:00
|
|
|
docopt = "0.8"
|
2018-02-20 22:46:14 -08:00
|
|
|
failure = "0.1.1"
|
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"
|
2018-04-06 15:54:52 -07:00
|
|
|
http = "0.1.5"
|
2018-01-23 11:08:21 -08:00
|
|
|
http-serve = { git = "https://github.com/scottlamb/http-serve" }
|
2018-04-06 15:54:52 -07:00
|
|
|
hyper = "0.11.25"
|
2018-01-30 22:05:39 -08:00
|
|
|
lazy_static = "1.0"
|
2016-11-25 14:34:00 -08:00
|
|
|
libc = "0.2"
|
2018-01-30 22:05:39 -08:00
|
|
|
log = { version = "0.4", features = ["release_max_level_info"] }
|
2017-11-16 23:01:09 -08:00
|
|
|
memmap = "0.6"
|
2017-06-11 12:57:55 -07:00
|
|
|
mime = "0.3"
|
2018-03-04 12:24:24 -08:00
|
|
|
moonfire-base = { path = "base" }
|
2018-02-20 23:15:39 -08:00
|
|
|
moonfire-db = { path = "db" }
|
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" }
|
2018-01-30 22:05:39 -08:00
|
|
|
openssl = "0.10"
|
2017-11-16 23:01:09 -08:00
|
|
|
parking_lot = { version = "0.5", 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-11-16 23:01:09 -08:00
|
|
|
rusqlite = "0.13"
|
2017-06-11 12:57:55 -07:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1.0"
|
2018-01-30 22:05:39 -08:00
|
|
|
smallvec = "0.6"
|
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"
|
2018-02-20 23:15:39 -08:00
|
|
|
uuid = { version = "0.6", features = ["serde", "std", "v4"] }
|
2016-12-08 21:28:50 -08:00
|
|
|
|
2016-11-25 14:34:00 -08:00
|
|
|
[dev-dependencies]
|
2017-11-16 23:01:09 -08:00
|
|
|
reqwest = "0.8"
|
2016-11-25 14:34:00 -08:00
|
|
|
tempdir = "0.3"
|
|
|
|
|
2017-02-05 19:58:41 -08:00
|
|
|
[dependencies.cursive]
|
2017-11-16 23:01:09 -08:00
|
|
|
version = "0.7"
|
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.
|
2018-01-30 22:05:39 -08:00
|
|
|
"hyper:0.11.16" = { git = "https://github.com/scottlamb/hyper", branch = "moonfire-on-0.11.x" }
|