PSeitz / lz4_flex

Fastest pure Rust implementation of LZ4 compression/decompression.
MIT License
460 stars 31 forks source link

Not actually no_std compatible #29

Closed cbiffle closed 3 years ago

cbiffle commented 3 years ago

The project readme mentions no_std compatibility, but std types are used pervasively, including allocation and std::io. Are there plans to fix this? (The commit that said it provided no_std compatibility did nothing of the sort.)

PSeitz commented 3 years ago

Hi,

the project is no_std compatible, but only without the frame feature, since frames use io::Write, which is not in core currently.

This should be no_std compatible lz4_flex = { version = "0.9.0", default-features = false, features = ["checked-decode"] }

PSeitz commented 3 years ago

I'll close this, feel free to reopen if you have issues with no_std