rustio rustio.net
50

cfg-iif

v0.2.8 Growing

A macro for defining `#[cfg]` `if-else` functions.

MIT OR Apache-2.0 Edition 2021 MSRV 1.60.0
#macro#cfg

Quick Verdict

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

Security

Checking security advisories...
Downloads
177.4K
Dependents
21
Releases
9
Size
15KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

278 downloads in the last 30 days (9/day), up 46% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 4+ years old, cfg-iif hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Zero dependencies

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include memx, linux-procfs, alpkit. When high-quality crates choose cfg-iif, it's a strong quality signal.

Health Breakdown

Maintenance 9/25

Recency, release consistency, active ratio

Quality 17/25

Yanked ratio, deps, size, maturity, features

Community 6/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
7/day avg+45%
020406012/291/162/32/213/113/28

Top Dependents

Most downloaded crates that depend on cfg-iif

Version Adoption

v0.2.7
95%
v0.2.6
3%
v0.2.4
1%
v0.2.3
1%
v0.2.2
1%

Release Timeline

9 releasessince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
3
2022
1
2023
3
2024
1
2025
1
2026
Less
More

Feature Flags

has_abc

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
21
crates depend on cfg-iif

Similar Crates