Cargo Features

elements-miniscript has no features set by default.

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

Affects policy::compiler

trace
serde = actual-serde

Enables serde of bitcoin and elements

rand

Enables rand of bitcoin

base64

Enables base64 of bitcoin and elements

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.