Cargo Features

[dependencies]
ethers-ethereum-types = { version = "0.14.1", default-features = false, features = ["std", "serialize", "rlp", "codec", "num-traits", "arbitrary"] }
default = ethbloom, rlp, serialize, std

These default features are set whenever ethers-ethereum-types is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional ethbloom, ethers-fixed-hash, ethers-primitive-types-rs, and ethers-uint-rs

serialize default = impl-serde

Enables serialize of ethbloom, serde_no_std of ethers-primitive-types-rs

rlp default = impl-rlp

Enables rlp of ethbloom and ethers-primitive-types-rs

codec = impl-codec, scale-info

Enables codec of ethbloom, scale-info of ethers-primitive-types-rs

num-traits

Enables num-traits of ethers-primitive-types-rs

arbitrary

Enables arbitrary of ethbloom, ethers-fixed-hash, and ethers-uint-rs

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.

ethbloom default arbitrary? codec? rlp serialize
impl-serde serialize

Enables ethers-impl-serde

impl-rlp rlp

Enables ethers-impl-rlp

impl-codec codec?

Enables ethers-impl-codec

scale-info codec?