Crate features / os_str_bytes
Feature flags · os_str_bytes 7.2.1 · from crates.io 2026-10-24
os_str_bytes features: what each one does, and the line to copy
Short answeros_str_bytes 7.2.1 has 3 features. By default it turns on memchr, raw_os_str; add default-features = false to start from nothing. It needs Rust 1.81.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
checked_conversions | conversions | |
conversions | nothing else (a switch the code checks) | |
raw_os_str | yes | nothing else (a switch the code checks) |
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 os_str_bytes declares (rust-version), and the release that changed it:
- 5.0.0 (2021-10-24): Rust 1.51.0
- 6.0.0 (2021-12-05): Rust 1.52.0
- 6.2.0 (2022-07-16): Rust 1.57.0
- 6.6.0 (2023-10-14): Rust 1.61.0
- 7.0.0-beta.0 (2023-11-18): Rust 1.74.0
- 7.2.0 (2026-05-02): Rust 1.81.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p os_str_bytes --precise <version>, or use resolver 3, which picks compatible versions for you.
More on os_str_bytes
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Next crateFeature flags for every popular crateRead it next →Also worth your time
Did this answer your question?