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 6+ years
  • Stable API (1.x for 10+ years)
  • Massive adoption (15.7K crates depend on it)
  • Team maintained (2 owners)
  • Tiny footprint (9KB, 0 deps)

Security

Checking security advisories...
Downloads
101.1M
Dependents
15.7K
Releases
10
Size
9KB

Deep Insights

📈
Strong growth momentum

4.9M downloads in the last 30 days (164.8K/day), up 24% from the previous period.

🏛️
Foundational crate

15.7K 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 10+ years

The API has been stable (1.x) for over 10 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, rdkafka. 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
131K/day avg+63%
050K100K150K200K250K12/291/162/32/213/113/28

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
15.7K
crates depend on maplit

Similar Crates