Crate features / slotmap
Feature flags · slotmap 1.1.1 · from crates.io 2026-10-24
slotmap features: what each one does, and the line to copy
Short answerslotmap 1.1.1 has 2 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.58.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
std | yes | nothing else (a switch the code checks) |
unstable | 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 slotmap declares (rust-version), and the release that changed it:
- 1.1.0 (2025-12-06): Rust 1.58.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p slotmap --precise <version>, or use resolver 3, which picks compatible versions for you.
More on slotmap
Real downloads, dependents and alternatives: slotmap crate data (345.6K real downloads a day, 545 dependents).
docs.rs feature list · crates.io · license Zlib · edition 2018
Up next
Before you depend on itslotmap crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?