Crate features / litemap
Feature flags · litemap 0.8.3 · from crates.io 2026-10-24
litemap features: what each one does, and the line to copy
Short answerlitemap 0.8.3 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 | nothing else (a switch the code checks) |
databake | dep:databake | |
serde | dep:serde_core, alloc | |
testing | alloc | |
yoke | dep:yoke |
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 litemap declares (rust-version), and the release that changed it:
- 0.7.1 (2023-09-22): Rust 1.66
- 0.7.2 (2023-11-16): Rust 1.67
- 0.7.4 (2024-11-23): Rust 1.71.1
- 0.7.5 (2025-02-26): Rust 1.81
- 0.8.0 (2025-05-07): Rust 1.82
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p litemap --precise <version>, or use resolver 3, which picks compatible versions for you.
More on litemap
Real downloads, dependents and alternatives: litemap crate data (2.6M real downloads a day, 31 dependents).
docs.rs feature list · crates.io · license Unicode-3.0 · edition 2021
Up next
Before you depend on itlitemap crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?