diff --git a/Cargo.lock b/Cargo.lock index a325580a..b88bfb71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -821,7 +821,7 @@ dependencies = [ [[package]] name = "pilota" -version = "0.11.4" +version = "0.11.5" dependencies = [ "ahash", "anyhow", diff --git a/pilota/Cargo.toml b/pilota/Cargo.toml index c9ceb34e..fc644d86 100644 --- a/pilota/Cargo.toml +++ b/pilota/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pilota" -version = "0.11.4" +version = "0.11.5" edition = "2021" description = "Pilota is a thrift and protobuf implementation in pure rust with high performance and extensibility." documentation = "https://docs.rs/pilota" diff --git a/pilota/src/prost/encoding.rs b/pilota/src/prost/encoding.rs index a8355624..88c6447c 100644 --- a/pilota/src/prost/encoding.rs +++ b/pilota/src/prost/encoding.rs @@ -1582,7 +1582,7 @@ macro_rules! map { let mut skip_key = key == &K::default(); let mut skip_val = val == val_default; - #[cfg(feature = "pb-encode-zero-value")] + #[cfg(feature = "pb-encode-default-value")] { skip_key = false; skip_val = false;