This is an automated email from the ASF dual-hosted git repository. kriskras99 pushed a commit to branch fix/build_avro_derive in repository https://gitbox.apache.org/repos/asf/avro-rs.git
commit d0fd54a6a5e26e80164347521e4e8fc6934f07bc Author: default <[email protected]> AuthorDate: Fri Dec 12 14:11:37 2025 +0000 fix: Enable `std` feature for Serde Without this buiding from the root directory works, but building from the `avro_derive` directory would fail. This is because some `avro` dependencies woud also enable the `std` feature. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 215c6e6..ae290bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ documentation = "https://docs.rs/apache-avro" # dependencies used by more than one members [workspace.dependencies] log = { default-features = false, version = "0.4.29" } -serde = { default-features = false, version = "1.0.228", features = ["derive"] } +serde = { default-features = false, version = "1.0.228", features = ["std", "derive"] } serde_bytes = { default-features = false, version = "0.11.19", features = ["std"] } serde_json = { default-features = false, version = "1.0.145", features = ["std"] } pretty_assertions = { default-features = false, version = "1.4.1", features = ["std"] }
