Cargo Features

[dependencies]
webb-proposals = { version = "0.8.0", default-features = false, features = ["std", "scale", "evm", "substrate", "ink"] }
default = evm, ink, scale, std, substrate

These default features are set whenever webb-proposals is added without default-features = false somewhere in the dependency tree.

std default

Enables std of frame-support ^4.0.0-dev, hex, num-traits, webb-proposal-derive, parity-scale-codec, scale-info, and serde

serde:

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

scale default ink substrate = scale-codec

Enables derive of scale-info

evm default = serde

Affects proposal::evm

substrate default = frame-support, scale, serde, typed-builder

Affects target_system::SubstrateTargetSystem

ink default = scale, typed-builder

Affects target_system::SubstrateTargetSystem

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 std

Enables parity-scale-codec

scale-info scale std
frame-support std substrate

Enables frame-support ^4.0.0-dev

typed-builder ink substrate

Enables typed-builder ^0.18

serde evm std substrate