upgrade deps

Both a "cargo update" and a bump of major versions of a few deps.
I left a few alone:

* base64 because some of the deps depend on 0.11 (and 0.9), so I don't
  want to pull in a third version (0.12).
* ring because libpasta depends on this version and I don't want to pull
  in two of them.
* time because it's not trivial. Last I checked, time 0.2 couldn't even
  do what I wanted at all.

I also made tokio use parking_lot, since I pull it in anyway.
This commit is contained in:
Scott Lamb
2020-04-18 15:44:35 -07:00
parent af9e568344
commit de56739571
7 changed files with 386 additions and 405 deletions

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