Cargo Features
[dependencies]
miniscript = { version = "12.2.0", default-features = false, features = ["no-std", "std", "compiler", "trace", "serde", "rand", "base64"] }
- default = std
-
The
std
feature is set by default wheneverminiscript
is added without
somewhere in the dependency tree.default-features = false - no-std
- std default
-
Enables std of bech32, secp-recovery and std of bitcoin
Affects
plan::LoggerAssetProvider
… - compiler
-
Affects
policy::compiler
… - trace
- serde = actual-serde
- rand
- base64
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.
- actual-serde serde?
-
Enables serde
Do NOT use this as a feature! Use the
serde
feature instead.