Cargo Features

[dependencies]
dlc = { version = "0.7.0", default-features = false, features = ["unstable", "no-std", "std", "use-serde"] }
unstable

for benchmarks

default = std

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

no-std

Enables no-std of miniscript

std default

Enables rand-std of secp256k1-zkp, std of bitcoin and miniscript

use-serde = serde

Enables serde of bitcoin and secp256k1-zkp

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.

serde use-serde?