Cargo Features

[dependencies]
ink_primitives = { version = "5.0.0", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever ink_primitives is added without default-features = false somewhere in the dependency tree.

std default = scale-decode, scale-encode

Enables std of ink_prelude, parity-scale-codec, and scale-info

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-decode std

Enables scale-decode ^0.10.0

scale-encode std

Enables scale-encode ^0.5.0

scale-info std