Cargo Features

[dependencies]
evm-interpreter = { version = "1.1.0", default-features = false, features = ["std", "scale", "serde", "ruint"] }
default = std

The std feature is set by default whenever evm-interpreter is added without default-features = false somewhere in the dependency tree.

std default

Enables std of primitive-types ^0.12, rlp ^0.5, optional ruint, optional parity-scale-codec, optional scale-info, optional serde, and sha3

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

scale = scale-codec, scale-info

Enables impl-codec of primitive-types ^0.12

serde

Enables serde, impl-serde of primitive-types ^0.12 and serde of optional ruint

ruint:

TODO: try to avoid alloc in serde impls

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.

scale-codec scale?

Enables parity-scale-codec

scale-info scale?
ruint implicit feature

Enables ruint

ruint:

Unsigned integer type with const-generic bit length