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