Cargo Features

[dependencies]
alloy-sol-types = { version = "0.8.12", default-features = false, features = ["std", "json", "eip712-serde", "arbitrary"] }
default = std

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

std default

Enables std of optional serde

eip712-serde

and std of alloy-primitives, const-hex, and optional alloy-json-abi

alloy-json-abi:

json

json

Enables alloy-json-abi, json of alloy-sol-macro

eip712-serde

Enables serde, serde of alloy-primitives

arbitrary

Enables arbitrary of alloy-primitives