Cargo Features
[dependencies]
pink-extension = { version = "0.5.2-dev.0", default-features = false, features = ["std", "runtime_utils", "dlmalloc"] }
- default = runtime_utils, std
-
These default features are set whenever
pink-extension
is added without
somewhere in the dependency tree.default-features = false - std default runtime_utils
-
Enables std of ink ^4.2, num_enum ^0.6, pink-types, parity-scale-codec, and scale-info
Affects
chain_extension::test
… - runtime_utils default = std
- dlmalloc
-
Enables dlmalloc and no-allocator of ink ^4.2
ink:
Disable the ink! provided global memory allocator.
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.