Is your feature request related to a problem? Please describe.
I know this project was just announced today, but I'd like to see #![no_std] support added, as I was looking to integrate zstd in my rust osdev project.
Describe the solution you'd like
The programs directory could be it's own crate and no_std support could be added to c2rust-lib. The dependency on the libc crate would have to made optional (as far as I can tell it's only used for size_t, malloc is already partially feature-gated).
Describe alternatives you've considered
So far I've only seen ruzstd which has limited compression levels and is probably slower. Alternatively I could use C bindings to zstd but I'd prefer a pure rust library like this one.
Additional context
Is your feature request related to a problem? Please describe.
I know this project was just announced today, but I'd like to see
#![no_std]support added, as I was looking to integrate zstd in my rust osdev project.Describe the solution you'd like
The programs directory could be it's own crate and no_std support could be added to c2rust-lib. The dependency on the libc crate would have to made optional (as far as I can tell it's only used for
size_t, malloc is already partially feature-gated).Describe alternatives you've considered
So far I've only seen
ruzstdwhich has limited compression levels and is probably slower. Alternatively I could use C bindings to zstd but I'd prefer a pure rust library like this one.Additional context