gdeflate 0.1.1

A library for compressing and decompressing the GDeflate format
docs.rs failed to build gdeflate-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: gdeflate-0.4.1

🗜️ gdeflate-rs

A library for compressing and decompressing the GDeflate format 🦀

crates license dependency-status

[dependencies]

gdeflate = "0.1.0"

Use the compress and decompress functions to compress and decompress data.

use gdeflate::CompressionLevel;

...

let bytes = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
let compressed_bytes = gdeflate::compress(&bytes, CompressionLevel::Level12).unwrap();
assert_eq!(bytes, &gdeflate::decompress(&compressed_bytes, bytes.len()));

🚨 Warning 🚨

This library is still experimental and only supports single-threaded compression and decompression at the moment.