Crates.io | bel-bech32 |
lib.rs | bel-bech32 |
version | 0.11.1 |
source | src |
created_at | 2024-09-02 13:14:39.799539 |
updated_at | 2024-09-02 15:10:25.386259 |
description | Encodes and decodes the Bech32 format and implements the bech32 and bech32m checksums |
homepage | |
repository | https://github.com/rust-bitcoin/rust-bech32 |
max_upload_size | |
id | 1360484 |
size | 250,692 |
Rust implementation of the Bech32 encoding format described in BIP-0173 and Bech32m encoding format described in BIP-0350.
You can find some usage examples in the documentation.
Bitcoin-specific address encoding is handled by the bitcoin-bech32
crate.
This library should always compile with any combination of features on Rust 1.56.1.
To assist devs in catching errors before running CI we provide some githooks. If you do not already have locally configured githooks you can use the ones in this repository by running, in the root directory of the repository:
git config --local core.hooksPath githooks/
Alternatively add symlinks in your .git/hooks
directory to any of the githooks we provide.
We use a custom Rust compiler configuration conditional to guard the benchmark code. To run the
benchmarks use: RUSTFLAGS='--cfg=bench' cargo +nightly bench
.