This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new b53cccf  fix: Enable `std` feature for Serde (#364)
b53cccf is described below

commit b53cccf1e6099b6e32e0398baa8ed92668fc0d15
Author: Kriskras99 <[email protected]>
AuthorDate: Mon Dec 15 09:42:03 2025 +0100

    fix: Enable `std` feature for Serde (#364)
    
    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.
    
    Co-authored-by: default <[email protected]>
---
 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"] }

Reply via email to