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 default-features = false somewhere in the dependency tree.

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.

scale-info std