base45

Crates.iobase45
lib.rsbase45
version3.1.0
sourcesrc
created_at2021-03-22 18:46:30.082531
updated_at2023-06-30 14:05:24.234032
descriptionEncoder/decoder for base45
homepagehttps://github.com/opendevtools/base45
repositoryhttps://github.com/opendevtools/base45
max_upload_size
id372250
size21,983
Rickard Natt och Dag (believer)

documentation

README

Base45

Test and publish Base45 Crate API

A encoder/decoder for base45 that is fully compatible with draft-faltstrom-base45-02. When encoding QR or Aztec codes a different scheme than the standard base64, base32, and base16 is needed.

Installation

[dependencies]
base45 = "1.0.1"

Benchmarks

Benchmarks were created using Criterion. The benchmarks test encoding and decoding of the string "The quick brown fox jumps over the lazy dog". Test computer is a MacBook 16" (2019) with 2,6 GHz 6-Core Intel Core i7 and 32 GB 2667 MHz DDR4.

encode long string                time:   [6.0716 us 6.1040 us 6.1377 us]
encode long string from buffer    time:   [6.0220 us 6.0547 us 6.0885 us]
decode long string                time:   [1.0876 us 1.0993 us 1.1105 us]
Commit count: 39

cargo fmt