Cargo Features

[dependencies]
polymesh-api-ink = { version = "1.2.2", default-features = false, features = ["std", "use_call_runtime_with_error"] }
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, scale-info, sp-arithmetic ^16.0, and sp-weights ^20.0

ink:

Ink!

use_call_runtime_with_error

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