Crate features / lz4_flex
Feature flags · lz4_flex 0.14.0 · from crates.io 2026-10-24
lz4_flex features: what each one does, and the line to copy
Short answerlz4_flex 0.14.0 has 7 features. By default it turns on std, safe-encode, safe-decode, frame, checked-decode; add default-features = false to start from nothing. It needs Rust 1.81 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
checked-decode | yes | nothing else (a switch the code checks) |
frame | yes | std, dep:twox-hash |
nightly | nothing else (a switch the code checks) | |
safe-decode | yes | nothing else (a switch the code checks) |
safe-encode | yes | nothing else (a switch the code checks) |
std | yes | alloc |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version lz4_flex declares (rust-version), and the release that changed it:
- 0.12.1 (2026-03-14): Rust 1.81
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p lz4_flex --precise <version>, or use resolver 3, which picks compatible versions for you.
More on lz4_flex
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?