Cargo Features
[dependencies]
ethereum = { version = "0.15.0", default-features = false, features = ["std", "with-codec", "with-serde"] }
- default = std
-
The
std
feature is set by default wheneverethereum
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of bytes, parity-scale-codec, ethereum-types ^0.14, hash-db, hash256-std-hasher, rlp ^0.5.2, scale-info, serde, sha3, and trie-root
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - with-codec = codec, scale-info
-
Enables ethereum-types ^0.14
- with-serde = serde
-
Enables serialize of ethereum-types ^0.14
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.
- codec std with-codec?
-
Enables parity-scale-codec
- scale-info std with-codec?
- serde std with-serde?