#base64 #slice #encode #decode

no-std based64

BASE64 implementation for chads

10 releases

0.4.8 Mar 26, 2023
0.4.7 Mar 20, 2023
0.4.5 Feb 21, 2023
0.3.1 Feb 11, 2023
0.1.2 Feb 9, 2023

#808 in Algorithms

Download history 36/week @ 2023-08-14 27/week @ 2023-08-21 59/week @ 2023-08-28 39/week @ 2023-09-04 29/week @ 2023-09-11 21/week @ 2023-09-18 23/week @ 2023-09-25 20/week @ 2023-10-02 15/week @ 2023-10-30 18/week @ 2023-11-13 34/week @ 2023-11-20 85/week @ 2023-11-27

137 downloads per month

BSL-1.0 license

25KB
467 lines

based64

Rust Crates.io Documentation

Simple Base64 functions for Rust chads.

Features

  • alloc - Enables usage of heap based collections;

Performance

There is collection of benchmarks made by Nugine which includes this crate: https://github.com/Nugine/simd/issues/25 for reference information


lib.rs:

BASE64 library for chads

Features

  • alloc - Enables usage of heap based collections;

API

  • raw - Contains functions to work with raw pointers. Mostly unsafe.
  • uninit - Contains functions to work with unintialized slices.
  • vec - Contains high level functions that returns Vec. Requires alloc feature.
  • string - Contains high level functions that returns String. Requires alloc feature.
  • Codec - Wrapper that allows to pre-built lookup table for decoding. Useful if you want to safe tiny bit on building lookup table.

No runtime deps