Crates.io | bech32grs |
lib.rs | bech32grs |
version | 0.11.0 |
source | src |
created_at | 2024-02-12 12:57:09.899637 |
updated_at | 2024-03-10 14:08:43.508851 |
description | Encodes and decodes the Bech32 format and implements the bech32 and bech32m checksums |
homepage | |
repository | https://github.com/Groestlcoin/rust-bech32 |
max_upload_size | |
id | 1136912 |
size | 499,355 |
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.
Groestlcoin-specific address encoding is handled by the groestlcoin-bech32
crate.
This library should always compile with any combination of features on Rust 1.48.0.
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
.
All PRs that change the public API of rust-bech32
must include a patch to the
api/
text files. For PRs that include API changes, add a separate patch to the PR
that is the diff created by running contrib/check-for-api-changes.sh
.