Cargo Features

[dependencies]
lnpbp = { version = "0.9.0", default-features = false, features = ["all", "cli", "serde", "identity", "elgamal", "zip"] }
default = zip

The zip feature is set by default whenever lnpbp is added without default-features = false somewhere in the dependency tree.

all = cli, elgamal, identity, serde, zip
cli all? = base58, base64-compat, clap, colorize, identity, serde, serde_json, serde_yaml

Enables hex of amplify ^3.13.0

Required by the binary

serde all? cli? = serde_crate, serde_with

Enables serde of amplify ^3.13.0, lnpbp_bech32, and lnpbp_chain

identity all? cli? = lnpbp_identity
elgamal all? = lnpbp_elgamal

Provides ElGamal encryption module from this library

zip default all?

Enables zip of lnpbp_bech32

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.

lnpbp_elgamal elgamal?
lnpbp_identity identity?
serde_crate serde?

Enables serde

serde_with serde?

Enables serde_with ^1.14

clap cli?

Enables clap ~3.2.23

Used by cli only

serde_yaml cli?

Enables serde_yaml

Used by cli only

serde_json cli?

Enables serde_json

Used by cli only

base64-compat cli?

Enables base64-compat

Used by cli only

base58 cli?

Enables base58

Used by cli only

colorize cli?

Enables colorize

Used by cli only