Cargo Features

ZABI has no features set by default.

[dependencies]
zabi = { version = "0.1.10", features = ["bytes", "hex", "selector", "serde", "syn"] }

TODO: introduce feature alloc.

bytes hex? = postcard, serde
hex = bytes, thiserror

Enables hex

optional features

selector = tiny-keccak
serde bytes?

Enables serde, serde of sol-abi

syn

Enables syn, syn of sol-abi

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.

postcard bytes?
thiserror hex?
tiny-keccak selector?