Cargo Features

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 ethereum-types is added without default-features = false somewhere in the dependency tree.

std default

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

serialize default = impl-serde

Enables serialize of ethbloom, serde_no_std of primitive-types

rlp default = impl-rlp

Enables rlp of ethbloom and primitive-types

codec = impl-codec, scale-info

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


Enables num-traits of primitive-types


Enables arbitrary of ethbloom, fixed-hash, and uint

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
impl-rlp rlp
impl-codec codec?
scale-info codec?