Cargo Features

BIP21 has no features set by default.

[dependencies]
bip21 = { version = "0.5.0", features = ["std", "non-compliant-bytes"] }
std

Implements std::error::Error for error types

Enables std of bitcoin and percent-encoding-rfc3986

non-compliant-bytes = either

Enables non-BIP21-compliant feature of using raw bytes instead of validated UTF-8 strings.

Affects bip21::ParamBytes, bip21::ParamBytesOwned

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.

either non-compliant-bytes?