From 8f27b14eb8d1a7fa6fa948142da8d61acdec905d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 23 Aug 2023 10:53:25 -0700 Subject: [PATCH] Use postcard with default-features = false (#1446) --- libafl/Cargo.toml | 2 +- libafl_bolts/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libafl/Cargo.toml b/libafl/Cargo.toml index 29fc52d1ab..0cd388683e 100644 --- a/libafl/Cargo.toml +++ b/libafl/Cargo.toml @@ -69,7 +69,7 @@ tuple_list = { version = "0.1.3" } hashbrown = { version = "0.14", features = ["serde", "ahash"], default-features=false } # A faster hashmap, nostd compatible num-traits = { version = "0.2", default-features = false } serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] } # serialization lib -postcard = { version = "1.0", features = ["alloc"] } # no_std compatible serde serialization format +postcard = { version = "1.0", features = ["alloc"], default-features = false } # no_std compatible serde serialization format bincode = {version = "1.3", optional = true } c2rust-bitfields = { version = "0.17", features = ["no_std"] } ahash = { version = "0.8", default-features=false } # The hash function already used in hashbrown diff --git a/libafl_bolts/Cargo.toml b/libafl_bolts/Cargo.toml index 7614e37486..b8eed90850 100644 --- a/libafl_bolts/Cargo.toml +++ b/libafl_bolts/Cargo.toml @@ -50,7 +50,7 @@ hashbrown = { version = "0.14", features = ["serde", "ahash"], default-features xxhash-rust = { version = "0.8.5", features = ["xxh3"] } # xxh3 hashing for rust serde = { version = "1.0", default-features = false, features = ["derive"] } # serialization lib erased-serde = { version = "0.3.21", default-features = false, optional = true } # erased serde -postcard = { version = "1.0", features = ["alloc"], optional = true } # no_std compatible serde serialization format +postcard = { version = "1.0", features = ["alloc"], default-features = false, optional = true } # no_std compatible serde serialization format num_enum = { version = "0.6", default-features = false } ahash = { version = "0.8", default-features=false, optional = true } # The hash function already used in hashbrown backtrace = {version = "0.3", optional = true} # Used to get the stacktrace in StacktraceObserver