Cargo Features

[dependencies]
ethabi = { 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 ethabi is added without default-features = false somewhere in the dependency tree.

std default full-serde = thiserror

Enables std of ethereum-types, hex, optional serde, sha3, and optional uint

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 ethereum-types

Affects token::Tokenizer

full-serde default = once_cell, regex, serde, serde_json, std

To enable custom Reader/Tokenizer and serde features support

rlp default

Enables rlp of ethereum-types

parity-codec

Enables codec of ethereum-types

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_json full-serde
thiserror std
uint serde?
regex full-serde
once_cell full-serde