2016-11-25 17:34:00 -05:00
|
|
|
[package]
|
|
|
|
name = "moonfire-nvr"
|
2022-03-22 17:55:24 -04:00
|
|
|
version = "0.7.3"
|
2016-11-25 17:34:00 -05:00
|
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
2018-12-28 22:53:29 -05:00
|
|
|
edition = "2018"
|
2021-10-27 16:18:52 -04:00
|
|
|
resolver = "2"
|
2021-02-17 16:28:48 -05:00
|
|
|
license-file = "../LICENSE.txt"
|
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.
|
2021-10-27 11:05:07 -04:00
|
|
|
nightly = ["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]
|
2020-03-28 03:59:25 -04:00
|
|
|
members = ["base", "db"]
|
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-11-23 03:23:03 -05:00
|
|
|
base64 = "0.13.0"
|
2021-08-31 16:04:26 -04:00
|
|
|
blake3 = "1.0.0"
|
2021-01-27 14:47:52 -05:00
|
|
|
bytes = "1"
|
2017-01-27 23:58:04 -05:00
|
|
|
byteorder = "1.0"
|
2021-06-15 03:45:11 -04:00
|
|
|
clap = { version = "2.33.3", default-features = false, features = ["color", "wrap_help"] }
|
2022-03-08 14:35:29 -05:00
|
|
|
cursive = "0.17.0"
|
2018-12-28 22:53:29 -05:00
|
|
|
db = { package = "moonfire-db", path = "db" }
|
2018-02-21 01:46:14 -05:00
|
|
|
failure = "0.1.1"
|
2020-01-09 02:04:36 -05:00
|
|
|
futures = "0.3"
|
2016-11-25 17:34:00 -05:00
|
|
|
fnv = "1.0"
|
2021-06-09 17:36:14 -04:00
|
|
|
h264-reader = "0.5.0"
|
2021-01-27 14:47:52 -05:00
|
|
|
http = "0.2.3"
|
2021-06-04 22:17:32 -04:00
|
|
|
http-serve = { version = "0.3.1", features = ["dir"] }
|
2021-01-27 14:47:52 -05:00
|
|
|
hyper = { version = "0.14.2", features = ["http1", "server", "stream", "tcp"] }
|
2018-01-31 01:05:39 -05:00
|
|
|
lazy_static = "1.0"
|
2016-11-25 17:34:00 -05:00
|
|
|
libc = "0.2"
|
2021-06-05 02:28:48 -04:00
|
|
|
log = { version = "0.4" }
|
2018-11-26 00:31:50 -05:00
|
|
|
memchr = "2.0.2"
|
2017-03-26 03:03:24 -04:00
|
|
|
mylog = { git = "https://github.com/scottlamb/mylog" }
|
2021-09-29 14:44:29 -04:00
|
|
|
nix = "0.23.0"
|
2021-08-31 16:04:26 -04:00
|
|
|
nom = "7.0.0"
|
2022-03-08 14:22:01 -05:00
|
|
|
parking_lot = "0.12.0"
|
2021-10-27 14:38:56 -04:00
|
|
|
password-hash = "0.3.2"
|
2021-10-27 00:41:03 -04:00
|
|
|
protobuf = "3.0.0-alpha.1"
|
2022-03-08 14:41:00 -05:00
|
|
|
reffers = "0.7.0"
|
2022-04-12 17:57:16 -04:00
|
|
|
retina = "0.3.9"
|
2020-11-24 00:47:02 -05:00
|
|
|
ring = "0.16.2"
|
2022-03-08 14:37:45 -05:00
|
|
|
rusqlite = "0.27.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"
|
2021-10-27 11:05:07 -04:00
|
|
|
smallvec = { version = "1.7", features = ["union"] }
|
2021-06-15 03:45:11 -04:00
|
|
|
structopt = { version = "0.3.13", default-features = false }
|
2021-01-27 14:47:52 -05:00
|
|
|
sync_wrapper = "0.1.0"
|
2016-11-25 17:34:00 -05:00
|
|
|
time = "0.1"
|
2021-09-23 18:55:53 -04:00
|
|
|
tokio = { version = "1.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] }
|
2021-03-26 02:01:38 -04:00
|
|
|
tokio-stream = "0.1.5"
|
2022-03-08 14:39:22 -05:00
|
|
|
tokio-tungstenite = "0.17.1"
|
2022-03-16 15:28:08 -04:00
|
|
|
toml = "0.5"
|
2021-06-05 02:28:48 -04:00
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
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]
|
2022-03-18 13:30:23 -04:00
|
|
|
mp4 = { git = "https://github.com/scottlamb/mp4-rust", branch = "moonfire" }
|
2021-07-09 18:01:15 -04:00
|
|
|
num-rational = { version = "0.4.0", default-features = false, features = ["std"] }
|
2021-01-27 14:47:52 -05:00
|
|
|
reqwest = { version = "0.11.0", default-features = false, features = ["json"] }
|
2021-05-17 16:08:01 -04:00
|
|
|
tempfile = "3.2.0"
|
2016-11-25 17:34:00 -05:00
|
|
|
|
2020-11-24 10:53:52 -05:00
|
|
|
[profile.dev.package.scrypt]
|
|
|
|
# On an Intel i3-6100U @ 2.30 GHz, a single scrypt password hash takes 7.6
|
|
|
|
# seconds at opt-level=0, or 0.096 seconds at opt-level=2. Always optimize this
|
|
|
|
# crate to avoid seeming hung / being annoyingly slow when debugging.
|
|
|
|
opt-level = 2
|
|
|
|
|
2016-11-25 17:34:00 -05:00
|
|
|
[profile.release]
|
2022-01-05 12:55:30 -05:00
|
|
|
debug = 1
|
2016-11-25 17:34:00 -05:00
|
|
|
|
|
|
|
[profile.bench]
|
2022-01-05 12:55:30 -05:00
|
|
|
debug = 1
|