Cargo Features
[dependencies]
cairo-native = { version = "0.2.2-alpha.0", default-features = false, features = ["build-cli", "scarb", "with-cheatcode", "with-mem-tracing", "with-runtime"] }
- default = build-cli, with-runtime
-
These default features are set whenever
cairo-native
is added without
somewhere in the dependency tree.default-features = false - build-cli default scarb?
-
Enables anyhow, cairo-lang-runner, cairo-lang-test-plugin, clap, colored, and tracing-subscriber
Required by cairo-native-dump, cairo-native-run, cairo-native-stress and cairo-native-test binaries
- scarb = build-cli
-
Enables scarb-metadata and scarb-ui
Affects
test::find_testable_targets
…Required by scarb-native-dump and scarb-native-test binaries
- with-cheatcode
-
Affects
starknet::StarknetSyscallHandler.cheatcode
,starknet::cairo_native__vtable_cheatcode
… - with-debug-utils with-mem-tracing
- with-runtime default
-
Enables cairo-native-runtime
Affects
utils::register_runtime_symbols
…