rustio rustio.net
65

const-gen

v1.6.9 Stable

A crate for generating (relatively) complex compile-time constants in rust.

MIT OR Apache-2.0 Edition 2018
ConfigurationDevelopment tools::Build UtilsAccessibility #build#const#constants#compile-time

Quick Verdict

  • โœ“Stable API (1.x for 5+ years)
  • โœ“Tiny footprint (11KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
381.8K
Dependents
36
Releases
45
Size
11KB

Deep Insights

๐Ÿ“Š
Steady growth

33.6K downloads in the last 30 days (1.1K/day), up 20% from the previous period.

โœ…
Stable for 5+ years

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

๐Ÿชถ
Minimal dependencies

Only 2 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 11KB, const-gen is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include rmk, sax-fingering-chart, rktk, systemd-hardening-helper, sunshine-tray. When high-quality crates choose const-gen, it's a strong quality signal.

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 22/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
986/day avg+24%
01K2K3K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v1.6.6
34%
v1.6.8
29%
v1.6.4
17%
v1.6.9
12%
v1.6.5
8%

Release Timeline

10 releases1 yankedsince 2023
J
F
M
A
M
J
J
A
S
O
N
D
2023
5
2024
1
2025
3
2026
1
Less
More|
Yanked

Feature Flags

default =["std", "derive", "phf"]

phf*std*derive*either

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
36
crates depend on const-gen

Similar Crates