Cargo Features
[dependencies]
stylus-sdk = { version = "0.7.0", default-features = false, features = ["export-abi", "debug", "hostio", "mini-alloc", "reentrant", "hostio-caching", "docs"] }
- default = hostio-caching, mini-alloc
-
These default features are set whenever
stylus-sdk
is added without
somewhere in the dependency tree.default-features = false - export-abi = debug, regex
-
Enables tiny-keccak of alloy-primitives =0.8.14, 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
… - hostio-caching default
- 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