rustio rustio.net
52

if_rust_version

v1.0.0 Growing

Macro to enable or disable code depending on the rust version

MIT/Apache-2.0

Quick Verdict

  • โœ•Not updated for 6+ years
  • โœ“Stable API (1.x for 6+ years)
  • โœ“Tiny footprint (10KB, 0 deps)
  • โœ“Permissive license (MIT/Apache-2.0)

Security

Checking security advisories...
Downloads
1.5M
Dependents
27
Releases
2
Size
10KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

41.0K downloads in the last 30 days (1.4K/day), up 120% from the previous period.

๐Ÿ‘ค
Prolific maintainer

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

โœ…
Stable for 6+ years

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

๐Ÿชถ
Zero dependencies

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include hex-conservative, qmetaobject, prebindgen, containing. When high-quality crates choose if_rust_version, it's a strong quality signal.

Health Breakdown

Maintenance 3/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 10/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
709/day avg+325%
01K2K3K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v1.0.0
100%
v0.1.0
0%

Release Timeline

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

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
27
crates depend on if_rust_version

Similar Crates