Cargo Features

lnp-core = { version = "0.9.2", default-features = false, features = ["all", "serde", "bolt", "bifrost"] }
default = bolt

The bolt feature is set by default whenever lnp-core is added without default-features = false somewhere in the dependency tree.

all = bifrost, bolt, serde
serde all? = serde_crate, serde_with

Enables serde of amplify ^3.13.0, bitcoin ^0.29.2, descriptor-wallet ^0.9.0, and lnp2p

bolt default all?

Enables bolt of lnp2p


Remove strict encoding requirement

bifrost all?

Enables bifrost of lnp2p

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_crate serde?

Enables serde

serde_with serde?

Enables serde_with ^1.14