Cargo Features

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

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

no-std

Enables no-std of ddk-dlc and lightning

std default

Enables std of bitcoin, ddk-dlc, and lightning

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?