Cargo Features
[dependencies]
fuel-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
fuel-ethabi
is added without
somewhere in the dependency tree.default-features = false - std default full-serde = thiserror
-
Enables std of ethereum-types ^0.14.0, 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 ethereum-types ^0.14.0
Affects
fuel-ethabi::operation
,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 ethereum-types ^0.14.0
- parity-codec
-
Enables codec of ethereum-types ^0.14.0
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.
- serde_json full-serde
- thiserror std
-
Enables thiserror ^1
- uint serde?
-
Enables uint ^0.9.0
- regex full-serde
- once_cell full-serde