zstd-nostd 0.1.0

Pure Rust no_std Zstandard (zstd) compression and decompression
Documentation
  • Coverage
  • 68.18%
    75 out of 110 items documented0 out of 51 items with examples
  • Size
  • Source code size: 136.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.66 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • pegasusheavy/armybox
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • quinnjr

zstd-nostd

Pure Rust #[no_std] implementation of Zstandard (zstd) compression and decompression.

Part of the armybox project.

Features

  • Full Zstandard decompression
  • Basic Zstandard compression
  • no_std compatible — no heap allocation required (optional alloc feature)
  • Zero external C dependencies

Usage

[dependencies]
zstd-nostd = "0.1"
use zstd_nostd::decompress;

let compressed = &[/* zstd frame bytes */];
let mut output = [0u8; 4096];
let size = decompress(compressed, &mut output).unwrap();

Features

Feature Default Description
alloc yes Enable Vec-based APIs that grow output buffers automatically

License

MIT OR Apache-2.0