Cargo Features
[dependencies]
casper-contract = { version = "4.0.0", default-features = false, features = ["no-std-helpers", "test-support", "std", "version-sync"] }
- default = no-std-helpers
-
The
no-std-helpers
feature is set by default whenevercasper-contract
is added without
somewhere in the dependency tree.default-features = false - no-std-helpers default = wee_alloc
-
Affects
casper-contract::ALLOC
… - test-support
-
Affects
runtime::print
,ext_ffi::casper_print
… - std
-
DEPRECATED - enabling
std
has no effect.
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.
- version-sync implicit feature
- wee_alloc no-std-helpers