Get the latest tech news

Bzip2 crate switches from C to 100% Rust


bzip2 crate switches from C to 100% rust Today we published bzip2 version 0.6.0, which uses our rust implementation of the bzip2 algorithm, libbz2-rs-sys, by default. The bzip2 crate is now faster and easier to cross-compile.

Cross-compilation of a rust project with C dependencies often works out of the box (because the cc crate tries to handle it), but when it doesn't the errors can be hard to debug. By removing the C dependency and using rust code instead, the complications of compiling C just disappear: cross-compilation just works. We do want to thank the reviewers from Radically Open Security, specifically Christian Reitter, for sharing their fuzzing experience.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of Bzip2 crate switches

Bzip2 crate switches

Related news:

News photo

Datalog in Rust

News photo

Show HN: Tritium – The Legal IDE in Rust

News photo

10 Years of Betting on Rust