Cargo Features
[dependencies]
lnp-core = { version = "0.9.2", default-features = false, features = ["all", "serde", "bolt", "bifrost"] }
- default = bolt
-
The
bolt
feature is set by default wheneverlnp-core
is added without
somewhere in the dependency tree.default-features = false - 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?
-
lnp2p:
Remove strict encoding requirement
- bifrost all?
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