Crate features / tinystr
Feature flags · tinystr 0.8.5 · from crates.io 2026-10-24
tinystr features: what each one does, and the line to copy
Short answertinystr 0.8.5 has 5 features. By default it turns on alloc; add default-features = false to start from nothing. It needs Rust 1.82 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | yes | serde_core?/alloc, zerovec?/alloc |
databake | dep:databake | |
serde | dep:serde_core | |
std | nothing else (a switch the code checks) | |
zerovec | dep:zerovec |
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 tinystr declares (rust-version), and the release that changed it:
- 0.7.2 (2023-09-22): Rust 1.66
- 0.7.5 (2023-11-16): Rust 1.67
- 0.8.0 (2024-11-23): Rust 1.71.1
- 0.8.1 (2025-02-26): Rust 1.81
- 0.8.2 (2025-10-28): Rust 1.82
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p tinystr --precise <version>, or use resolver 3, which picks compatible versions for you.
More on tinystr
Real downloads, dependents and alternatives: tinystr crate data (2.5M real downloads a day, 57 dependents).
docs.rs feature list · crates.io · license Unicode-3.0 · edition 2021
Up next
Before you depend on ittinystr crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?