diff --git a/Cargo.lock b/Cargo.lock index 94a6c24587..2e71159eac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1597,15 +1597,6 @@ dependencies = [ "num-traits 0.2.19", ] -[[package]] -name = "atomic-polyfill" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" -dependencies = [ - "critical-section", -] - [[package]] name = "atomic-waker" version = "1.1.2" @@ -3946,12 +3937,6 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "critical-section" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f64009896348fc5af4222e9cf7d7d82a95a256c634ebcf61c53e4ea461422242" - [[package]] name = "crossbeam-channel" version = "0.5.13" @@ -6590,15 +6575,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "hash32" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" -dependencies = [ - "byteorder", -] - [[package]] name = "hashbrown" version = "0.12.3" @@ -6680,20 +6656,6 @@ dependencies = [ "http 0.2.12", ] -[[package]] -name = "heapless" -version = "0.7.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" -dependencies = [ - "atomic-polyfill", - "hash32", - "rustc_version 0.4.1", - "serde", - "spin 0.9.8", - "stable_deref_trait", -] - [[package]] name = "heck" version = "0.3.3" @@ -10609,7 +10571,6 @@ dependencies = [ "cobs", "embedded-io 0.4.0", "embedded-io 0.6.1", - "heapless", "serde", ] diff --git a/Cargo.toml b/Cargo.toml index 891b43e876..9757979d72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -174,6 +174,7 @@ metrics = "0.23.0" num-traits = { version = "0.2", default-features = false } once_cell = "1.0" parking_lot = "0.12.1" +postcard = { version = "1.0.10", features = [ "use-std" ], default-features = false } pretty_assertions = "1.2.1" rand = "0.8.5" rayon = "1.8.0" diff --git a/crates/katana/primitives/Cargo.toml b/crates/katana/primitives/Cargo.toml index 9def4d5024..4c66693811 100644 --- a/crates/katana/primitives/Cargo.toml +++ b/crates/katana/primitives/Cargo.toml @@ -28,7 +28,7 @@ num-bigint = "0.4.6" [dev-dependencies] assert_matches.workspace = true -postcard = "1.0.10" +postcard.workspace = true rstest.workspace = true similar-asserts.workspace = true diff --git a/crates/katana/storage/db/Cargo.toml b/crates/katana/storage/db/Cargo.toml index ce6aaf883b..3677b485cf 100644 --- a/crates/katana/storage/db/Cargo.toml +++ b/crates/katana/storage/db/Cargo.toml @@ -22,11 +22,7 @@ thiserror.workspace = true tracing.workspace = true # codecs -[dependencies.postcard] -default-features = false -features = [ "use-std" ] -optional = true -version = "1.0.8" +postcard = { workspace = true, optional = true } [dependencies.libmdbx] git = "https://github.com/paradigmxyz/reth.git"