From f8d55dde2109a6c67c9d2004af443a44e6b7a3b6 Mon Sep 17 00:00:00 2001 From: Akase Haruka Date: Mon, 23 Dec 2024 14:14:45 +0800 Subject: [PATCH] feat: re-export `rayon` feature (#827) * re-export rayon feature * re-export rayon feature --- crates/core/Cargo.toml | 1 + crates/primitives/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 172e8d60d..05efb1cf2 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -65,6 +65,7 @@ map-fxhash = ["alloy-primitives/map-fxhash"] getrandom = ["alloy-primitives/getrandom"] rand = ["alloy-primitives/rand"] +rayon = ["alloy-primitives/rayon"] rlp = ["alloy-primitives/rlp", "dep:alloy-rlp"] serde = ["alloy-primitives/serde"] k256 = ["alloy-primitives/k256"] diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 9fd6ad059..81076830e 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -132,6 +132,7 @@ map-fxhash = ["map", "dep:rustc-hash"] getrandom = ["dep:getrandom"] k256 = ["dep:k256"] rand = ["dep:rand", "getrandom", "ruint/rand", "rustc-hash?/rand"] +rayon = ["hashbrown?/rayon", "indexmap?/rayon"] rlp = ["dep:alloy-rlp", "ruint/alloy-rlp"] serde = [ "dep:serde",