Cargo Features

[dependencies]
stylus-sdk = { version = "0.7.0-beta.1", default-features = false, features = ["export-abi", "debug", "hostio", "mini-alloc", "reentrant", "docs"] }
default = mini-alloc

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

export-abi = debug, regex

Enables tiny-keccak of alloy-primitives =0.8.13, export-abi of stylus-proc

Affects abi::export

debug export-abi?

Affects debug::console_log

hostio

Affects stylus-sdk::hostio

mini-alloc default

Enables mini-alloc

local deps

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. These features may have been created by mistake, and this functionality may be removed in the future.

regex export-abi?

Enables regex

export-abi