Cargo Features

[dependencies]
lnp2p = { version = "0.9.2", default-features = false, features = ["all", "bolt", "bifrost", "serde"] }
default = bolt, strict_encoding

These default features are set whenever lnp2p is added without default-features = false somewhere in the dependency tree.

all = bifrost, serde
bolt default bifrost? = lightning_encoding, strict_encoding

Remove strict encoding requirement

Affects lnp2p::bolt

bifrost all? = bolt, strict_encoding

Affects lnp2p::bifrost

serde all? = serde_crate, serde_with

Enables serde of amplify ^3.13.0 and bitcoin ^0.29.2

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.

strict_encoding default bifrost? bolt

Enables strict_encoding ^0.9.0

lightning_encoding bolt
serde_crate serde?

Enables serde

serde_with serde?

Enables serde_with ^1.14