Merge branch 'master' into new-schema

This commit is contained in:
Scott Lamb
2020-04-19 22:53:42 -07:00
6 changed files with 390 additions and 407 deletions

View File

@@ -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" }

View File

@@ -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")