Cargo Features
[dependencies]
ethers-abi = { version = "18.0.0", default-features = false, features = ["std", "serde", "full-serde", "rlp", "parity-codec"] }
- default = full-serde, rlp, std
-
These default features are set whenever
ethers-abi
is added without
somewhere in the dependency tree.default-features = false - std default full-serde = thiserror
-
Enables std of ethers-ethereum-types, hex, optional serde, sha3, and optional uint ^0.9.0
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - serde full-serde = uint
-
Enables serde, serialize of ethers-ethereum-types
Affects
token::Tokenizer
… - full-serde default = once_cell, regex, serde, serde_json, std
-
To enable custom
Reader
/Tokenizer
andserde
features support - rlp default
-
Enables rlp of ethers-ethereum-types
- parity-codec
-
Enables codec of ethers-ethereum-types
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.