#base64 #vec #chads

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

#2893 in Algorithms

Download history

239 downloads per month

BSL-1.0 license

25KB
467 lines

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.

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

No runtime deps