mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 23:25:55 -05:00
a6ec68027a
* add a --ts subcommand to convert between numeric and human-readable representations. This is handy when directly inspecting the SQLite database or API output. * also take the human-readable form in the web interface's camera view. * to reduce confusion, when using trim=true on the web interface's camera view, trim the displayed starting and ending times as well as the actual .mp4 file links.
63 lines
1.1 KiB
TOML
63 lines
1.1 KiB
TOML
[package]
|
|
name = "moonfire-nvr"
|
|
version = "0.1.0"
|
|
authors = ["Scott Lamb <slamb@slamb.org>"]
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
nightly = []
|
|
|
|
[dependencies]
|
|
byteorder = "0.5"
|
|
chan = "0.1"
|
|
chan-signal = "0.1"
|
|
docopt = "0.6"
|
|
fnv = "1.0"
|
|
http-entity = { git = "https://github.com/scottlamb/http-entity" }
|
|
hyper = "0.9"
|
|
lazy_static = "0.2"
|
|
libc = "0.2"
|
|
log = { version = "0.3", features = ["release_max_level_info"] }
|
|
lru-cache = "0.1"
|
|
memmap = "0.3"
|
|
mime = "0.2"
|
|
openssl = "0.8"
|
|
regex = "0.2"
|
|
rusqlite = "0.7"
|
|
rustc-serialize = "0.3"
|
|
serde = "0.8"
|
|
serde_json = "0.8"
|
|
slog = "1.2"
|
|
slog-envlogger = "0.5"
|
|
slog-stdlog = "1.1"
|
|
slog-term = "1.3"
|
|
smallvec = "0.2"
|
|
time = "0.1"
|
|
url = "1.2"
|
|
uuid = { version = "0.3", features = ["serde", "v4"] }
|
|
|
|
[build-dependencies]
|
|
serde_codegen = "0.8"
|
|
|
|
[dev-dependencies]
|
|
tempdir = "0.3"
|
|
|
|
[dependencies.ffmpeg]
|
|
git = "https://github.com/scottlamb/rust-ffmpeg"
|
|
branch = "2.x"
|
|
default-features = false
|
|
features = ["codec", "format"]
|
|
|
|
[dependencies.ffmpeg-sys]
|
|
version = "2.8"
|
|
default-features = false
|
|
features = ["avcodec"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
debug = true
|
|
|
|
[profile.bench]
|
|
lto = true
|
|
debug = true
|