Cargo Features

elements-miniscript has no features set by default.

[dependencies]
elements-miniscript = { version = "0.3.0", features = ["compiler", "trace", "serde", "rand", "base64", "simplicity"] }
compiler

Affects policy::compiler

trace
serde = actual-serde

Enables serde of bitcoin ^0.31.0 and elements

rand

Enables rand of bitcoin ^0.31.0

base64

Enables base64 of bitcoin ^0.31.0

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.

simplicity implicit feature

Enables simplicity-lang

simplicity-lang:

General purpose library for processing Simplicity programs

actual-serde serde?

Enables serde

Do NOT use this as a feature! Use the serde feature instead.