[package]
edition = "2018"
rust-version = "1.56.1"
name = "bech32"
version = "0.12.0"
authors = [
"Clark Moody",
"Andrew Poelstra",
"Tobin Harding",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encodes and decodes the Bech32 format and implements the bech32 and bech32m checksums"
documentation = "https://docs.rs/bech32/"
readme = "README.md"
keywords = [
"base32",
"encoding",
"bech32",
"bitcoin",
"cryptocurrency",
]
categories = [
"encoding",
"cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/rust-bitcoin/rust-bech32"
[package.metadata.rbmt.toolchains]
nightly = "nightly-2026-06-05"
stable = "stable"
[features]
alloc = []
default = ["std"]
std = ["alloc"]
[lib]
name = "bech32"
path = "src/lib.rs"
[[test]]
name = "bip_173_test_vectors"
path = "tests/bip_173_test_vectors.rs"
[[test]]
name = "bip_350_test_vectors"
path = "tests/bip_350_test_vectors.rs"
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = [
"cfg(bench)",
"cfg(kani)",
]