Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-implement in pure Rust #40

Open
newpavlov opened this issue Jan 25, 2019 · 5 comments
Open

Re-implement in pure Rust #40

newpavlov opened this issue Jan 25, 2019 · 5 comments

Comments

@newpavlov
Copy link

Are you interested in re-implementing bzip2 in pure Rust or do you intend to keep it as a binding? (i.e. will you accept such work if anyone will be interested in it or not?) bzip2-sys implementation could be kept as a feature-gated disabled by default option.

Potential rewrite will help with the licensing issue and will help crates which target WASM.

@alexcrichton
Copy link
Collaborator

Sounds like a good idea to me! I think a strategy similar to flate2 where the implementation is in a separate crate probably works best, and then this crate can multiplex backends as necessary.

@infinity0
Copy link

The new bzip2 (C library) maintainer has actually started rewriting it in rust.

@dralley
Copy link

dralley commented Apr 11, 2020

Granted, it does not look like they are being very active with development. No commits in more than 7 months.

@paolobarbolini
Copy link

Hello, I just published a pure Rust bzip2 decompressor implementation. I'll also probably work on the encoder in the future. In the meantime I already published a 0.1.0 on crates.io, which you can find here: https://crates.io/crates/bzip2-rs

@micahsnyder
Copy link

@ohsnyt has a pure Rust bzip2 multi-threaded compressor and decompressor in progress, here: https://github.com/ohsnyt/bzip2-rust It is functional, but is not yet published on crates.io.

If anyone is interested in helping test, and fine tune it, I'm sure he would appreciate the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants