Cargo Features

RgbInvoice has no features set by default.

[dependencies]
rgb-invoice = { version = "0.11.0-beta.8", features = ["serde"] }
serde = serde_crate

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