Cargo Features

[dependencies]
polymesh-ink = { version = "3.2.0", default-features = false, features = ["as-library", "std", "ink-as-dependency"] }
default = std

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

as-library

Compile as upgradable library.

Affects polymesh-ink::Hash, polymesh-ink::AccountId

std default

Enables std of ink ^4.3, polymesh-api, parity-scale-codec, and scale-info

ink-as-dependency

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