Cargo Features

[dependencies]
psbt-v2 = { version = "0.2.0", default-features = false, features = ["std", "rand", "rand-std", "serde", "base64", "miniscript-std", "miniscript-no-std"] }
default = std

The std feature is set by default whenever psbt-v2 is added without default-features = false somewhere in the dependency tree.

std default miniscript-std?

Enables std of bitcoin and bitcoin-internals ^0.3.0

rand

Enables rand of bitcoin

rand-std

Enables rand-std of bitcoin

serde = actual-serde

Enables serde of bitcoin and bitcoin-internals ^0.3.0

base64

Enables base64 of bitcoin

miniscript-std = std

Enables std of miniscript

Do NOT use this feature! Use one of the miniscript- features instead.

miniscript-no-std

Enables no-std of miniscript

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.

miniscript miniscript-no-std? miniscript-std?

Affects v0::miniscript, input::FinalizeError

actual-serde serde?

Enables serde

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