Rust implementation of the Bech32 encoding format described in BIP-0173. You can find some usage examples in the documentation.
Bitcoin-specific address encoding is handled by the bitcoin-bech32 crate.
bitcoin-bech32