Cargo Features
[dependencies]
alloy-eip7702 = { version = "0.4.1", default-features = false, features = ["std", "serde", "serde-bincode-compat", "k256", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneveralloy-eip7702
is added without
somewhere in the dependency tree.default-features = false - std default arbitrary?
-
Enables std of alloy-primitives, alloy-rlp, derive_more, and optional serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - serde
-
Enables serde, serde of alloy-primitives
Affects
alloy-eip7702::serde_bincode_compat
… - serde-bincode-compat = serde_with
-
Affects
alloy-eip7702::serde_bincode_compat
… - k256
-
Enables k256 of alloy-primitives and k256
for signed authorization list arbitrary
- arbitrary = std
-
Enables arbitrary and rand, arbitrary of alloy-primitives
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.