rustio rustio.net
69

const-gen

v1.6.10 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 12d ago)
  • โœ“Stable API (1.x for 5+ years)
  • โœ“Tiny footprint (11KB, 2 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
602.3K
Dependents
37
Releases
46
Size
11KB

Deep Insights

๐Ÿ“Š
Steady growth

58.8K downloads in the last 30 days (2.0K/day), up 8% from the previous period.

โœ…
Stable for 5+ years

The API has been stable (1.x) for over 5 years with 46 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 sax-fingering-chart, rktk, systemd-hardening-helper, sunshine-tray, symlinkccc. When high-quality crates choose const-gen, it's a strong quality signal.

Health Breakdown

Maintenance 18/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
158/day avg-100%
01K2K3K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v1.6.6
41%
v1.6.9
25%
v1.6.8
18%
v1.6.4
12%
v1.6.5
5%

Release Timeline

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

Feature Flags

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

phf*std*derive*either

README

Loading README...

Maintainers

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

Similar Crates