Cargo Features
[dependencies]
ethers-primitive-types-rs = { version = "0.12.1", default-features = false, features = ["std", "byteorder", "rustc-hex", "serde", "serde_no_std", "codec", "scale-info", "rlp", "fp-conversion", "num-traits", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneverethers-primitive-types-rs
is added without
somewhere in the dependency tree.default-features = false - std default fp-conversion? serde?
-
Enables std of ethers-fixed-hash, optional ethers-impl-codec, and ethers-uint-rs
- byteorder
-
Enables byteorder of ethers-fixed-hash
- rustc-hex
-
Enables rustc-hex of ethers-fixed-hash
- serde = impl-serde, std
-
Enables std of ethers-impl-serde
- serde_no_std = impl-serde
- codec scale-info? = impl-codec
- scale-info = codec, scale-info-crate
- rlp = impl-rlp
- fp-conversion = std
- num-traits = impl-num-traits
- arbitrary
-
Enables arbitrary of ethers-fixed-hash and ethers-uint-rs
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.
- impl-serde serde? serde_no_std?
-
Enables ethers-impl-serde
- impl-codec codec?
-
Enables ethers-impl-codec
- impl-num-traits num-traits?
-
Enables ethers-impl-num-traits
- impl-rlp rlp?
-
Enables ethers-impl-rlp
- scale-info-crate scale-info?
-
Enables scale-info