Skip to content

trifectatechfoundation/libbzip2-rs

Folders and files

NameName
Last commit message
Last commit date
Apr 25, 2025
Jul 17, 2022
Jul 17, 2022
Apr 25, 2025
Apr 16, 2025
Apr 14, 2025
Feb 6, 2022
Feb 28, 2025
Apr 14, 2025
Jul 17, 2022
Nov 15, 2024
Oct 29, 2024
Jun 1, 2023
Jul 17, 2022
Jan 30, 2022
May 31, 2023
May 31, 2023
May 31, 2023
Feb 28, 2025
Apr 16, 2025
Apr 16, 2025
Jul 17, 2022
Jan 30, 2022
Mar 14, 2025
Dec 11, 2024
Jan 30, 2022
Jun 25, 2019
Jan 30, 2022
Feb 6, 2022
Jan 30, 2022
Jun 27, 2022
Jun 5, 2019
Feb 28, 2025
Jan 30, 2022
Mar 3, 2025
Jan 30, 2022
Feb 28, 2025
Nov 7, 2024
Jan 30, 2022
Jan 30, 2022
Dec 30, 2001
Jun 7, 2019
Jan 30, 2022
Jan 30, 2022
Nov 8, 2024
Dec 20, 2006
Jan 30, 2022
Jul 1, 2019
Jun 14, 2019
Jul 17, 2022
Jun 6, 2019
Jan 30, 2022
Jun 5, 2019
Nov 8, 2024
Jan 30, 2022
Jan 21, 2025
Jan 30, 2022
Jan 30, 2022
Jan 30, 2022
Jan 30, 2022

Repository files navigation

checks codecov Crates.io

libbzip2-rs: a safer libbzip

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:

How to use libbzip2-rs in your project

libbzip2-rs can be used in both Rust and C projects.

Rust 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.

C projects

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.

Acknowledgment

This project is based on a c2rust translation of the original libbzip2.

About

libbzip2-rs is part of Trifecta Tech Foundation's Data compression initiative.

Funding

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.

NLnet foundation logo
NGI Zero Logo