diff --git a/Cargo.toml b/Cargo.toml index 1ede18270..3d0071dbf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prost" -version = "0.10.3" +version = "0.10.4" authors = [ "Dan Burkert ", "Tokio Contributors ", diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index ed4307071..f2bfb2cac 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "prost-build" -version = "0.10.3" +version = "0.10.4" authors = [ "Dan Burkert ", "Tokio Contributors ", diff --git a/prost-build/build.rs b/prost-build/build.rs index 89abf0176..14ebe5746 100644 --- a/prost-build/build.rs +++ b/prost-build/build.rs @@ -79,7 +79,9 @@ fn compile() -> Option { println!("cargo:rerun-if-changed={}", protobuf_src.display()); - let dst = cmake::Config::new(protobuf_src).build(); + let dst = cmake::Config::new(protobuf_src) + .define("protobuf_BUILD_TESTS", "OFF") + .build(); Some(dst.join("bin").join("protoc")) } diff --git a/prost-build/src/lib.rs b/prost-build/src/lib.rs index 5656fa6e9..5122f8478 100644 --- a/prost-build/src/lib.rs +++ b/prost-build/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/prost-build/0.10.3")] +#![doc(html_root_url = "https://docs.rs/prost-build/0.10.4")] #![allow(clippy::option_as_ref_deref)] //! `prost-build` compiles `.proto` files into Rust. diff --git a/src/lib.rs b/src/lib.rs index a851826de..b480fcea9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/prost/0.10.3")] +#![doc(html_root_url = "https://docs.rs/prost/0.10.4")] #![cfg_attr(not(feature = "std"), no_std)] // Re-export the alloc crate for use within derived code.