Cargo Features

[dependencies]
webb = { version = "0.8.5", default-features = false, features = ["evm-runtime", "integration-tests", "generate-contracts", "openssl"] }
default = evm-runtime

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

evm-runtime default generate-contracts? = ethers, serde_json

Affects webb::evm

integration-tests

Tests

generate-contracts = evm-runtime, syn

Build

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.

ethers evm-runtime

Enables ethers =2.0.13

EVM crates.

serde_json evm-runtime
openssl implicit feature

Enables openssl

Used by ethers (but we need it to be vendored with the lib).

syn build generate-contracts?