Cargo Features

[dependencies]
stylus-sdk = { version = "0.4.3", default-features = false, features = ["export-abi", "debug", "hostio", "storage-cache", "reentrant", "docs"] }
default = storage-cache

The storage-cache feature is set by default whenever stylus-sdk is added without default-features = false somewhere in the dependency tree.

export-abi = debug, regex

Enables export-abi of stylus-proc

local deps

Affects abi::export

debug export-abi?

Affects debug::console_log

hostio

Affects stylus-sdk::hostio

storage-cache default = fnv

Enables storage-cache of stylus-proc

Affects transfer::transfer_eth

reentrant

Enables reentrant of stylus-proc

Affects transfer::transfer_eth

docs

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

regex export-abi?

Enables regex

export-abi

fnv storage-cache

Enables fnv

storage-cache