Updates external dependencies (#577)

* Updates external dependencies

* Correct fmt formatting
This commit is contained in:
Age Manning
2019-10-30 12:22:18 +11:00
committed by GitHub
parent 2c6b40be78
commit 5c97ed3562
41 changed files with 272 additions and 280 deletions

View File

@@ -6,9 +6,9 @@ edition = "2018"
description = "Google protobuf message and service definitions used in Lighthouse APIs."
[dependencies]
futures = "0.1"
grpcio = { version = "0.4", default-features = false, features = ["protobuf-codec"] }
protobuf = "~2.8.1"
futures = "0.1.29"
grpcio = { version = "0.4.6", default-features = false, features = ["protobuf-codec"] }
protobuf = "2.8.1"
[build-dependencies]
protoc-grpcio = "0.3.1"
protoc-grpcio = "1.1.0"

View File

@@ -5,6 +5,6 @@ use std::path::Path;
fn main() {
let proto_root = Path::new("src");
println!("cargo:rerun-if-changed={}", proto_root.display());
protoc_grpcio::compile_grpc_protos(&["services.proto"], &[proto_root], &proto_root)
protoc_grpcio::compile_grpc_protos(&["services.proto"], &[proto_root], &proto_root, None)
.expect("Failed to compile gRPC definitions!");
}