Cargo Features
stylus-sdk has no features set by default.
[dependencies]
stylus-sdk = { version = "0.5.0", features = ["export-abi", "debug", "hostio", "reentrant", "docs"] }
- export-abi = debug, regex
-
Enables tiny-keccak of alloy-primitives ^0.3.1 and export-abi of stylus-proc
local deps
Affects
abi::export
… - debug export-abi?
-
Affects
debug::console_log
… - hostio
-
Affects
stylus-sdk::hostio
… - 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