From c0b013b2bf2f7a3581d034ef7257461b971b7afa Mon Sep 17 00:00:00 2001 From: Ding Xiang Fei Date: Mon, 18 Jun 2018 16:38:13 +0800 Subject: [PATCH] bump `protoc-rust` version to `^2.0.2` --- Cargo.toml | 2 +- build.rs | 1 + src/proto/mod.rs | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8093bd6..d837693 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ serde = { version = "^1.0.55", optional = true } serde_derive = { version = "^1.0.55", optional = true } [build-dependencies] -protoc-rust = { version = "1.7.1", optional = true } +protoc-rust = { version = "^2.0.2", optional = true } [dev-dependencies] serde_json = "1.0.17" diff --git a/build.rs b/build.rs index 85a2548..8bab568 100644 --- a/build.rs +++ b/build.rs @@ -26,6 +26,7 @@ fn build_protobuf(out_dir: &str, input: &[&str], includes: &[&str]) { out_dir, input, includes, + customize: Default::default(), }).expect("protoc"); } diff --git a/src/proto/mod.rs b/src/proto/mod.rs index cac5c49..b703999 100644 --- a/src/proto/mod.rs +++ b/src/proto/mod.rs @@ -1,3 +1,4 @@ +#[allow(missing_debug_implementations)] mod proof; use ring::digest::Algorithm;