main-- / rust-lz-fear

A fast pure-rust no-unsafe implementation of LZ4 compression and decompression
https://docs.rs/lz-fear
MIT License
108 stars 7 forks source link

Support for no_std environment? #17

Open TheSamabo opened 3 years ago

TheSamabo commented 3 years ago

Hi, i've been looking over some solutions to compression on embedded rust eg: no_std environment.

Does this crate require standard library?

Thanks, Sam

main-- commented 3 years ago

The crate currently uses Vec<u8> in multiple places, so making it compatible with no_std would require some work. That being said, I would of course be open to reviewing and merging a PR adding no_std support (provided that it doesn't degrade performance).