Cargo Features

[dependencies]
ink_lang = { version = "4.0.0-alpha.1", default-features = false, features = ["std", "show-codegen-docs"] }
default = std

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

std default

Enables std of ink_env ^4.0.0-alpha.1, ink_lang_macro, ink_metadata ^4.0.0-alpha.1, ink_prelude ^4.0.0-alpha.1, ink_primitives ^4.0.0-alpha.1, ink_storage ^4.0.0-alpha.1, and parity-scale-codec

show-codegen-docs

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.

ink_metadata std

Enables ink_metadata ^4.0.0-alpha.1