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