rustio rustio.net
68

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

  • โœ“Actively maintained (updated 37d ago)
  • โœ“Stable API (1.x for 4+ years)
  • โœ“Tiny footprint (11KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
321.8K
Dependents
34
Releases
45
Size
11KB

Deep Insights

๐Ÿ“Š
Stable downloads

27.8K downloads in the last 30 days (925/day). Volume is roughly flat compared to the previous period.

โœ…
Stable for 4+ years

The API has been stable (1.x) for over 4 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 17/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
891/day avg+21%
01K2K3K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.6.8
35%
v1.6.6
29%
v1.6.4
20%
v1.6.5
10%
v1.6.9
6%

Release Timeline

45 releases1 yankedsince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
26
2022
5
2023
9
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
34
crates depend on const-gen

Similar Crates