Cargo Features
[dependencies]
pallet-revive-fixtures = { version = "0.2.0", default-features = false, features = ["riscv", "std"] }
- default = std
-
The
std
feature is set by default wheneverpallet-revive-fixtures
is added without
somewhere in the dependency tree.default-features = false - riscv
-
only if the feature is set we are building the test fixtures this is because it requires a custom toolchain supporting polkavm we will remove this once there is an upstream toolchain
Affects
pallet-revive-fixtures::bench.fixture
… - std default = frame-system, sp-runtime
-
only when std is enabled all fixtures are available
Affects
pallet-revive-fixtures::compile_module
…
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.