rustio rustio.net
63

maplit

v1.0.2 Growing

Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet.

MIT/Apache-2.0
Rust patterns #macro#data-structure#literal#hashmap

Quick Verdict

  • ✕Not updated for 7+ years
  • ✓Stable API (1.x for 11+ years)
  • ✓Massive adoption (17.1K crates depend on it)
  • ✓Team maintained (2 owners)
  • ✓Tiny footprint (9KB, 0 deps)

Security

Checking security advisories...
Downloads
140.6M
Dependents
17.1K
Releases
10
Size
9KB

Deep Insights

📈
Strong growth momentum

9.0M downloads in the last 30 days (300.1K/day), up 23% from the previous period.

🏛️
Foundational crate

17.1K crates depend on maplit — it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

👥
Team maintained

This crate is maintained by a team (2 owners), reducing bus-factor risk and ensuring continuity.

✅
Stable for 11+ years

The API has been stable (1.x) for over 11 years with 10 releases. This level of maturity means you can depend on it without worrying about breaking changes.

🪶
Zero dependencies

maplit has no external dependencies — minimal supply chain risk and fast compile times.

📐
Compact crate

At 9KB, maplit is lightweight. Small crate size correlates with focused, well-scoped functionality.

🌟
Used by top crates

Notable dependents include inotify, rstest_macros, serde-wasm-bindgen, inferno, defmt-macros. When high-quality crates choose maplit, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 19/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
29K/day avg-100%
0100K200K300K8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v1.0.2
98%
v1.0.1
2%
v0.1.6
0%
v0.1.4
0%
v1.0.0
0%

Release Timeline

10 releasessince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
4
2016
1
2017
3
2018
1
2019
1
2020
2021
2022
2023
2024
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
17.1K
crates depend on maplit

Similar Crates