Cargo Features

[dependencies]
polymesh-ink = { version = "3.1.0", default-features = false, features = ["use_call_runtime_with_error", "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.

use_call_runtime_with_error

Needs Polymesh >=6.2.0

Enables use_call_runtime_with_error of polymesh-api-ink

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