bech32 0.12.0

Encodes and decodes the Bech32 format and implements the bech32 and bech32m checksums
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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)",
]