#base64 #heap #function #information #alloc #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

#765 in Algorithms

Download history 18/week @ 2024-02-19 7/week @ 2024-02-26 17/week @ 2024-03-11 222/week @ 2024-03-25 22/week @ 2024-04-01 9/week @ 2024-04-08 104/week @ 2024-04-15

357 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