Cargo Features

[dependencies]
alloy-sol-types = { version = "0.7.2", 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 alloy-primitives, const-hex, and optional serde

serde:

eip712-serde

json

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

eip712-serde

Enables serde, serde of alloy-primitives

arbitrary

Enables arbitrary of alloy-primitives