Crates.io | libbz2-rs-sys |
lib.rs | libbz2-rs-sys |
version | 0.2.2 |
created_at | 2024-12-04 14:53:22.748695+00 |
updated_at | 2025-08-05 11:29:52.817968+00 |
description | a drop-in compatible rust bzip2 implementation |
homepage | https://github.com/trifectatechfoundation/libbzip2-rs |
repository | https://github.com/trifectatechfoundation/libbzip2-rs |
max_upload_size | |
id | 1472156 |
size | 238,259 |
This repository contains a Rust implementation of the bzip2 file format that is compatible with the libbzip2 API.
This repository contains the following public crate:
libbzip2-rs can be used in both Rust and C projects.
By far the easiest way to use libbzip2-rs is through the bzip2 crate, by simply enabling the libbz2-rs-sys
feature gate. This will enable the libbz2-rs-sys
backend.
You can also directly use the C api exported by the libbz2-rs-sys
crate.
libbzip2-rs can be built as a shared object file for usage by C programs that dynamically link to libbzip2. Please see the example in libbz2-rs-sys-cdylib.
This project is based on a c2rust translation of the original libbzip2.
libbzip2-rs is part of Trifecta Tech Foundation's Data compression initiative.
This project is funded through NGI Zero Core, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more at the NLnet project page.