rustio rustio.net
48

collection_literals

v1.0.3 Growing

Easy-to-use macros for initializing any collection

MIT Edition 2021
Rust patterns #macro#collection#literal#hashmap#maplit

Quick Verdict

  • โœ•Not updated for 1+ year
  • โœ“Stable API (1.x for 4+ years)
  • โœ“Tiny footprint (5KB, 0 deps)
  • โœ“Permissive license (MIT)
  • !57% of releases were yanked

Security

Checking security advisories...
Downloads
33.5M
Dependents
50
Releases
7
Size
5KB

Deep Insights

๐Ÿ“Š
Steady growth

3.8M downloads in the last 30 days (125.2K/day), up 19% from the previous period.

โœ…
Stable for 4+ years

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

๐Ÿชถ
Zero dependencies

collection_literals has no external dependencies โ€” minimal supply chain risk and fast compile times.

๐Ÿ“
Compact crate

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

โš ๏ธ
Notable yanked versions

57% of releases have been yanked. Check version history before pinning.

๐ŸŒŸ
Used by top crates

Notable dependents include attribute-derive-macro, interpolator, ina219_rs, terminfo-lean, structfs-core-store. When high-quality crates choose collection_literals, it's a strong quality signal.

Health Breakdown

Maintenance 5/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 10/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
9K/day avg-100%
050K100K150K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.0.3
41%
v1.0.1
36%
v1.0.2
22%

Release Timeline

7 releases4 yankedsince 2022
J
F
M
A
M
J
J
A
S
O
N
D
2022
5
2023
2024
2025
2
2026
Less
More|
Yanked

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
50
crates depend on collection_literals

Similar Crates