Cargo Features
[dependencies]
lnp_rpc = { version = "0.9.1", default-features = false, features = ["all", "bolt", "bifrost", "serde"] }
- default = bifrost, bolt, serde
-
These default features are set whenever
lnp_rpc
is added without
somewhere in the dependency tree.default-features = false - all = bifrost, bolt, serde
- bolt default all? = lightning-invoice
- bifrost default all?
- serde default all? = serde_crate, serde_with, serde_yaml
-
Enables serde of amplify ^3.13.0, bitcoin ^0.29.2, descriptor-wallet ^0.9.0, internet2, lnp-core, lnpbp, and microservices
internet2:
Exposing core rust componens
----------------------------
These also include re-assembly of necessary features from dependencies
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.
- lightning-invoice bolt
-
Enables lightning-invoice ^0.21.0
- serde_crate serde
-
Enables serde
- serde_with serde
-
Enables serde_with ^1.14
- serde_yaml serde
-
Enables serde_yaml ^0.8