$ libflate_lz77

v2.3.0

LZ77 encoder for libflate crate

Downloads: 32.3M
Recent: 5.1M
Versions: 9
Updated: April 15, 2026

Latest Update Summary

Crate

Name: libflate_lz77 New version: 2.2.0 Release date: 2025-10-24T22:24:55Z

Crate readme

Short description A Rust implementation of DEFLATE algorithm and related formats (ZLIB, GZIP).

Long description libflate provides a Rust implementation of the DEFLATE algorithm, supporting formats like ZLIB and GZIP. It includes functionality for encoding and decoding GZIP streams, with examples demonstrating basic usage and performance benchmarks compared to other libraries.

Features • Cargo feature flags: libflate = "2" • Support for GZIP decoding • Includes performance benchmarks against flate2 and inflate

Code Examples Installation

 [dependencies]
libflate = "2"

An Example

 extern crate libflate;

use std::io;
use libflate::gzip::Decoder;

fn main() {
    let mut input = io::stdin();
    let mut decoder = Decoder::new(&mut input).unwrap();
    io::copy(&mut decoder, &mut io::stdout()).unwrap();
}

Linkshttps://crates.io/crates/libflatehttps://docs.rs/libflatehttps://github.com/sile/libflate/pull/78https://github.com/sile/libflate/pull/79https://github.com/sile/libflate/compare/2.1.0...2.2.0

https://api.github.com/repos/sile/libflate/releases/257141517

Release info

Release version: 2.2.0

Release description This release updates the hashbrown crate to version 0.16, addressing some performance and compatibility improvements. Additionally, outdated CI tooling and coverage tracking have been removed, streamlining the development process. Notably, this version includes contributions from new developers, specifically @orlp, who contributed through pull requests linked to these changes.

Code Examples

Minor update: 2.2.0 → 2.3.0

$ DOWNLOADS TREND

24.2M32.3M

$ VERSION HISTORY

v2.3.0April 15, 2026
v2.2.0October 24, 2025
v2.1.0April 30, 2024

$ LINKS

$ INSTALL

cargo add libflate_lz77

Or add to Cargo.toml: libflate_lz77 = "2.3.0"