2016-11-25 17:34:00 -05:00
|
|
|
[package]
|
|
|
|
name = "moonfire-nvr"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
2018-12-28 22:53:29 -05:00
|
|
|
edition = "2018"
|
2016-11-25 17:34:00 -05:00
|
|
|
|
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.
|
2019-01-04 14:56:15 -05:00
|
|
|
nightly = ["db/nightly", "parking_lot/nightly", "smallvec/union"]
|
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-12-28 22:53:29 -05:00
|
|
|
base = { package = "moonfire-base", path = "base" }
|
2020-01-09 23:06:30 -05:00
|
|
|
base64 = "0.11.0"
|
2020-03-20 23:52:30 -04:00
|
|
|
blake3 = "0.2.2"
|
2020-01-09 02:04:36 -05:00
|
|
|
bytes = "0.5.3"
|
2017-01-27 23:58:04 -05:00
|
|
|
byteorder = "1.0"
|
2019-07-04 17:51:38 -04:00
|
|
|
cstr = "0.1.7"
|
2020-01-20 11:56:57 -05:00
|
|
|
cursive = "0.14.0"
|
2018-12-28 22:53:29 -05:00
|
|
|
db = { package = "moonfire-db", path = "db" }
|
2018-08-25 01:06:14 -04:00
|
|
|
docopt = "1.0"
|
2018-02-21 01:46:14 -05:00
|
|
|
failure = "0.1.1"
|
2018-12-28 22:53:29 -05:00
|
|
|
ffmpeg = { package = "moonfire-ffmpeg", path = "ffmpeg" }
|
2020-01-09 02:04:36 -05:00
|
|
|
futures = "0.3"
|
2016-11-25 17:34:00 -05:00
|
|
|
fnv = "1.0"
|
2020-03-20 00:35:42 -04:00
|
|
|
h264-reader = { git = "https://github.com/dholroyd/h264-reader" }
|
2020-01-09 02:04:36 -05:00
|
|
|
http = "0.2.0"
|
|
|
|
http-serve = "0.2.0"
|
|
|
|
hyper = "0.13.0"
|
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"] }
|
2018-11-26 00:31:50 -05:00
|
|
|
memchr = "2.0.2"
|
2018-11-20 12:32:55 -05:00
|
|
|
memmap = "0.7"
|
2017-03-26 03:03:24 -04:00
|
|
|
mylog = { git = "https://github.com/scottlamb/mylog" }
|
2019-12-30 08:46:53 -05:00
|
|
|
nix = "0.16.1"
|
2019-07-17 17:32:09 -04:00
|
|
|
parking_lot = { version = "0.9", features = [] }
|
2019-06-19 18:17:50 -04:00
|
|
|
protobuf = { git = "https://github.com/stepancheg/rust-protobuf" }
|
2020-01-09 23:06:30 -05:00
|
|
|
reffers = "0.6.0"
|
2018-08-25 01:06:14 -04:00
|
|
|
regex = "1.0"
|
2019-02-14 01:43:30 -05:00
|
|
|
ring = "0.14.6"
|
2020-01-09 23:06:30 -05:00
|
|
|
rusqlite = "0.21.0"
|
2018-12-28 22:53:29 -05:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2017-06-11 15:57:55 -04:00
|
|
|
serde_json = "1.0"
|
2020-01-09 23:06:30 -05:00
|
|
|
smallvec = "1.0"
|
2016-11-25 17:34:00 -05:00
|
|
|
time = "0.1"
|
2020-01-09 02:04:36 -05:00
|
|
|
tokio = { version = "0.2.0", features = ["blocking", "macros", "rt-threaded", "signal"] }
|
2020-02-29 00:41:31 -05:00
|
|
|
tokio-tungstenite = "0.10.1"
|
2020-01-09 23:06:30 -05:00
|
|
|
url = "2.1.1"
|
|
|
|
uuid = { version = "0.8", features = ["serde", "std", "v4"] }
|
2016-12-09 00:28:50 -05:00
|
|
|
|
2016-11-25 17:34:00 -05:00
|
|
|
[dev-dependencies]
|
2020-01-09 23:06:30 -05:00
|
|
|
reqwest = { version = "0.10.1", features = ["json"] }
|
2016-11-25 17:34:00 -05:00
|
|
|
tempdir = "0.3"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
debug = true
|