Cargo Features

[dependencies]
ink_primitives = { version = "5.1.1", 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 derive_more, ink_prelude, parity-scale-codec, optional scale-decode ^0.11.1, optional scale-encode ^0.6.0, scale-info, and xxhash-rust

xxhash-rust:

Enables std::io::Write implementation

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.11.1

scale-encode std

Enables scale-encode ^0.6.0

scale-info std