#base58

bs58

Another Base58 codec implementation

9 releases

✓ Uses Rust 2018 edition

new 0.3.0 Sep 16, 2019
0.2.5 Aug 30, 2019
0.2.2 Sep 15, 2018
0.2.1 Jul 12, 2018
0.1.3 Nov 5, 2016

#1 in #base58

Download history 2153/week @ 2019-06-03 2287/week @ 2019-06-10 7268/week @ 2019-06-17 3676/week @ 2019-06-24 2647/week @ 2019-07-01 2871/week @ 2019-07-08 3074/week @ 2019-07-15 2842/week @ 2019-07-22 2506/week @ 2019-07-29 3032/week @ 2019-08-05 3313/week @ 2019-08-12 4304/week @ 2019-08-19 5339/week @ 2019-08-26 5519/week @ 2019-09-02 5011/week @ 2019-09-09

16,532 downloads per month
Used in 135 crates (35 directly)

MIT/Apache

33KB
477 lines

bs58 travis-badge cargo-badge license-badge rust-version-badge

Another Rust Base58 codec implementation.

Compared to base58 this is significantly faster at decoding (about 2.4x as fast when decoding 32 bytes), almost the same speed for encoding (about 3% slower when encoding 32 bytes), doesn't have the 128 byte limitation and supports a configurable alphabet.

Compared to rust-base58 this is massively faster (over ten times as fast when decoding 32 bytes, almost 40 times as fast when encoding 32 bytes), has no external dependencies and supports a configurable alphabet.

Rust Version Policy

This crate only supports the current stable version of Rust, patch releases may use new features at any time.

Developing

This project uses clippy and denies warnings in CI builds. To ensure your changes will be accepted please check them with cargo clippy (available via rustup component add clippy) before submitting a pull request (along with cargo test as usual).

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~59KB