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