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;