Cargo Features
[dependencies]
sapio-miniscript = { version = "8.0.1-alpha.0", default-features = false, features = ["no-std", "std", "compiler", "unstable", "serde", "rand", "use-schemars"] }
- default = std
-
The
std
feature is set by default wheneversapio-miniscript
is added without
somewhere in the dependency tree.default-features = false - no-std = hashbrown
-
Enables no-std of bitcoin ^0.29.1
- std default
-
Enables secp-recovery and std of bitcoin ^0.29.1
- compiler
-
Affects
policy::compiler
… - trace unstable
- serde = actual-serde
-
Enables serde of bitcoin ^0.29.1
- rand
-
Enables rand of bitcoin ^0.29.1
- use-schemars = schemars
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.
- hashbrown no-std?
-
Enables hashbrown ^0.11
- actual-serde serde?
-
Enables serde
Do NOT use this as a feature! Use the
serde
feature instead. - schemars use-schemars?