Crate features / anstyle
Feature flags · anstyle 1.0.14 · from crates.io 2026-10-24
anstyle features: what each one does, and the line to copy
Short answeranstyle 1.0.14 has 1 feature. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.66.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
std | 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 anstyle declares (rust-version), and the release that changed it:
- 0.1.1 (2022-05-18): Rust 1.56.0
- 0.2.6 (2023-03-06): Rust 1.64.0
- 1.0.3 (2023-09-11): Rust 1.70.0
- 1.0.7 (2024-05-02): Rust 1.65.0
- 1.0.9 (2024-10-24): Rust 1.66.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p anstyle --precise <version>, or use resolver 3, which picks compatible versions for you.
More on anstyle
Real downloads, dependents and alternatives: anstyle crate data (2.6M real downloads a day, 607 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itanstyle crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?