mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 06:35:56 -05:00
Merge branch 'master' into new-schema
This commit is contained in:
commit
474d96803c
770
Cargo.lock
generated
770
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -43,19 +43,19 @@ memchr = "2.0.2"
|
||||
memmap = "0.7"
|
||||
moonfire-tflite = { git = "https://github.com/scottlamb/moonfire-tflite", features = ["edgetpu"], optional = true }
|
||||
mylog = { git = "https://github.com/scottlamb/mylog" }
|
||||
nix = "0.16.1"
|
||||
nix = "0.17.0"
|
||||
nom = "5.1.1"
|
||||
parking_lot = { version = "0.9", features = [] }
|
||||
parking_lot = { version = "0.10", features = [] }
|
||||
protobuf = { git = "https://github.com/stepancheg/rust-protobuf" }
|
||||
reffers = "0.6.0"
|
||||
ring = "0.14.6"
|
||||
rusqlite = "0.21.0"
|
||||
rusqlite = "0.22.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
smallvec = "1.0"
|
||||
structopt = { version = "0.3.13", features = ["default", "wrap_help"] }
|
||||
time = "0.1"
|
||||
tokio = { version = "0.2.0", features = ["blocking", "macros", "rt-threaded", "signal"] }
|
||||
tokio = { version = "0.2.0", features = ["blocking", "macros", "parking_lot", "rt-threaded", "signal"] }
|
||||
tokio-tungstenite = "0.10.1"
|
||||
url = "2.1.1"
|
||||
uuid = { version = "0.8", features = ["serde", "std", "v4"] }
|
||||
|
@ -16,6 +16,6 @@ failure = "0.1.1"
|
||||
lazy_static = "1.0"
|
||||
libc = "0.2"
|
||||
log = "0.4"
|
||||
parking_lot = { version = "0.9", features = [] }
|
||||
parking_lot = { version = "0.10", features = [] }
|
||||
nom = "5.1.1"
|
||||
time = "0.1"
|
||||
|
@ -26,18 +26,18 @@ libpasta = "0.1.0-rc2"
|
||||
log = "0.4"
|
||||
lru-cache = "0.1"
|
||||
mylog = { git = "https://github.com/scottlamb/mylog" }
|
||||
nix = "0.16.1"
|
||||
odds = { version = "0.3.1", features = ["std-vec"] }
|
||||
parking_lot = { version = "0.9", features = [] }
|
||||
nix = "0.17.0"
|
||||
odds = { version = "0.4.0", features = ["std-vec"] }
|
||||
parking_lot = { version = "0.10", features = [] }
|
||||
prettydiff = "0.3.1"
|
||||
protobuf = { git = "https://github.com/stepancheg/rust-protobuf" }
|
||||
ring = "0.14.6"
|
||||
rusqlite = "0.21.0"
|
||||
rusqlite = "0.22.0"
|
||||
smallvec = "1.0"
|
||||
tempdir = "0.3"
|
||||
time = "0.1"
|
||||
uuid = { version = "0.8", features = ["std", "v4"] }
|
||||
itertools = "0.8.0"
|
||||
itertools = "0.9.0"
|
||||
|
||||
[build-dependencies]
|
||||
protobuf-codegen-pure = { git = "https://github.com/stepancheg/rust-protobuf" }
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is part of Moonfire NVR, a security camera network video recorder.
|
||||
// Copyright (C) 2019 The Moonfire NVR Authors
|
||||
// Copyright (C) 2019-2020 The Moonfire NVR Authors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@ -29,8 +29,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
fn main() {
|
||||
//let out_dir = std::path::PathBuf::from(std::env::var("OUT_DIR").expect("OUT_DIR"));
|
||||
protobuf_codegen_pure::Args::new()
|
||||
protobuf_codegen_pure::Codegen::new()
|
||||
.out_dir(".")
|
||||
.inputs(&["proto/schema.proto"])
|
||||
.include("proto")
|
||||
|
@ -143,7 +143,7 @@ fn main() {
|
||||
.build();
|
||||
h.clone().install().unwrap();
|
||||
|
||||
if let Err(e) = { let _a = h.r#async(); args.run() } {
|
||||
if let Err(e) = { let _a = h.async_scope(); args.run() } {
|
||||
error!("{:?}", e);
|
||||
::std::process::exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user