rustio rustio.net
58

const_fn

v0.4.12 Growing

A lightweight attribute for easy generation of const functions with conditional compilations.

Apache-2.0 OR MIT Edition 2018 MSRV 1.31

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 155 crates
  • โœ“Tiny footprint (14KB, 0 deps)
  • โœ“Permissive license (Apache-2.0 OR MIT)

Security

Checking security advisories...
Downloads
61.6M
Dependents
155
Releases
25
Size
14KB

Deep Insights

๐Ÿ“Š
Stable downloads

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

๐Ÿ”—
Moderate adoption

155 crates depend on const_fn. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 118 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 7+ years old, const_fn hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include x86_64, utcnow, typed_floats, awint_internals, awint_core. When high-quality crates choose const_fn, it's a strong quality signal.

Health Breakdown

Maintenance 12/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 12/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
57K/day avg-51%
020K40K60K80K4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.4.9
47%
v0.4.11
21%
v0.4.10
14%
v0.4.8
12%
v0.4.5
7%

Release Timeline

10 releasessince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
2
2021
4
2022
1
2023
2024
1
2025
1
2026
1
Less
More

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
155
crates depend on const_fn

Similar Crates