mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 15:15:56 -05:00
5e7d558f99
This alone improves interop and diagnostics, as noted in Retina's release notes. We also now give the camera name to the session group (for improved logging of TEARDOWN operations) and expose the RTSP server's "tool" attribute in debug logs and the config UI's "Test" button. Fixes #209 Fixes #213
83 lines
2.4 KiB
TOML
83 lines
2.4 KiB
TOML
[package]
|
|
name = "moonfire-nvr"
|
|
version = "0.7.3"
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
|
edition = "2018"
|
|
resolver = "2"
|
|
license-file = "../LICENSE.txt"
|
|
|
|
[features]
|
|
|
|
# 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 = ["db/nightly", "parking_lot/nightly"]
|
|
|
|
# The bundled feature includes bundled (aka statically linked) versions of
|
|
# native libraries where possible.
|
|
bundled = ["rusqlite/bundled"]
|
|
|
|
[workspace]
|
|
members = ["base", "db"]
|
|
|
|
[dependencies]
|
|
base = { package = "moonfire-base", path = "base" }
|
|
base64 = "0.13.0"
|
|
blake3 = "1.0.0"
|
|
bytes = "1"
|
|
byteorder = "1.0"
|
|
clap = { version = "2.33.3", default-features = false, features = ["color", "wrap_help"] }
|
|
cursive = "0.17.0"
|
|
db = { package = "moonfire-db", path = "db" }
|
|
failure = "0.1.1"
|
|
futures = "0.3"
|
|
fnv = "1.0"
|
|
h264-reader = "0.5.0"
|
|
http = "0.2.3"
|
|
http-serve = { version = "0.3.1", features = ["dir"] }
|
|
hyper = { version = "0.14.2", features = ["http1", "server", "stream", "tcp"] }
|
|
lazy_static = "1.0"
|
|
libc = "0.2"
|
|
log = { version = "0.4" }
|
|
memchr = "2.0.2"
|
|
mylog = { git = "https://github.com/scottlamb/mylog" }
|
|
nix = "0.23.0"
|
|
nom = "7.0.0"
|
|
parking_lot = "0.12.0"
|
|
password-hash = "0.3.2"
|
|
protobuf = "3.0.0-alpha.1"
|
|
reffers = "0.7.0"
|
|
retina = "0.3.9"
|
|
ring = "0.16.2"
|
|
rusqlite = "0.27.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
smallvec = { version = "1.7", features = ["union"] }
|
|
structopt = { version = "0.3.13", default-features = false }
|
|
sync_wrapper = "0.1.0"
|
|
time = "0.1"
|
|
tokio = { version = "1.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] }
|
|
tokio-stream = "0.1.5"
|
|
tokio-tungstenite = "0.17.1"
|
|
toml = "0.5"
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
url = "2.1.1"
|
|
uuid = { version = "0.8", features = ["serde", "std", "v4"] }
|
|
|
|
[dev-dependencies]
|
|
mp4 = { git = "https://github.com/scottlamb/mp4-rust", branch = "moonfire" }
|
|
num-rational = { version = "0.4.0", default-features = false, features = ["std"] }
|
|
reqwest = { version = "0.11.0", default-features = false, features = ["json"] }
|
|
tempfile = "3.2.0"
|
|
|
|
[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
|
|
|
|
[profile.release]
|
|
debug = 1
|
|
|
|
[profile.bench]
|
|
debug = 1
|