Cargo Features

[dependencies]
alloy-core = { version = "0.8.11", default-features = false, features = ["std", "nightly", "dyn-abi", "json-abi", "json", "sol-types", "asm-keccak", "native-keccak", "sha3-keccak", "tiny-keccak", "map", "map-hashbrown", "map-indexmap", "map-foldhash", "map-fxhash", "getrandom", "rand", "rlp", "serde", "k256", "eip712", "postgres", "arbitrary"] }
default = std

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

Enables optional alloy-dyn-abi, optional alloy-json-abi, alloy-primitives, optional alloy-rlp, and optional alloy-sol-types

std default arbitrary? postgres?

Enables std of optional alloy-dyn-abi, optional alloy-json-abi, alloy-primitives, optional alloy-rlp, and optional alloy-sol-types

nightly

Enables nightly of alloy-primitives

dyn-abi = sol-types

Enables alloy-dyn-abi

json-abi = json, serde

Enables alloy-json-abi

json json-abi?

Enables json of optional alloy-sol-types

sol-types dyn-abi?

Enables alloy-sol-types

asm-keccak

Enables asm-keccak of alloy-primitives

native-keccak

Enables native-keccak of alloy-primitives

sha3-keccak

Enables sha3-keccak of alloy-primitives

tiny-keccak

Enables tiny-keccak of alloy-primitives

map

Enables map of alloy-primitives

map-hashbrown

Enables map-hashbrown of alloy-primitives

map-indexmap

Enables map-indexmap of alloy-primitives

map-foldhash

Enables map-foldhash of alloy-primitives

map-fxhash

Enables map-fxhash of alloy-primitives

getrandom

Enables getrandom of alloy-primitives

rand

Enables rand of alloy-primitives

rlp

Enables alloy-rlp, rlp of alloy-primitives

serde json-abi?

Enables serde of alloy-primitives

k256

Enables k256 of alloy-primitives

eip712

Enables eip712 of optional alloy-dyn-abi, eip712-serde of optional alloy-sol-types

postgres = std

Enables postgres of alloy-primitives

arbitrary = std

Enables arbitrary of optional alloy-dyn-abi, alloy-primitives, and optional alloy-sol-types

alloy-core has 24 features without comments.