Cargo Features

[dependencies]
polymesh-api-ink = { version = "1.5.0", default-features = false, features = ["std"] }
default = std

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

std default

Enables std of parity-scale-codec

substrate

and std of ink ^4.3, primitive-types ^0.12.0, scale-info, sp-arithmetic ^21.0, and sp-weights ^25.0

ink:

Ink!

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