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

Using ruzstd #291

Open
kpcyrd opened this issue Sep 11, 2024 · 4 comments
Open

Using ruzstd #291

kpcyrd opened this issue Sep 11, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@kpcyrd
Copy link

kpcyrd commented Sep 11, 2024

hello!

I was wondering, are there any plans to support the ruzstd crate as pure Rust compression/decompression backend to avoid a dependency on libzstd.so? :)

Thanks!

@NobodyXu
Copy link
Collaborator

We currently have a PR #288 to support alternative liblzma instead xz2, my attitude towards ruzstd is the same:

We can add it behind an opt-in, unstable cfg flag.

Given that ruzstd is pure rust, it should work without the problem encountered in #288

@robjtede robjtede added the enhancement New feature or request label Oct 13, 2024
@link2xt
Copy link
Contributor

link2xt commented Oct 15, 2024

ruzstd does not support compression and has no plan to implement it. It can only be used for decompression.

@zuisong
Copy link

zuisong commented Jan 17, 2025

https://github.com/KillingSpark/zstd-rs/releases/tag/v0.8.0

ruzstd v0.8.0 add support for compression.

@link2xt
Copy link
Contributor

link2xt commented Jan 17, 2025

PR adding compression: KillingSpark/zstd-rs#79
So it is not just a placeholder anymore, but probably still cannot get compression levels that original library has?
In any case if it does some useful compression would be great to make this the default option.

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

No branches or pull requests

5 participants