What is cfg-if?
cfg-if is a crates that A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted. . It has a Nerq Trust Score of 63/100 (C+). 895.6M GitHub stars. Published by Unknown. Last analyzed March 2026.
Why This Score
- ⚠️ Security: 0/100 — Some security concerns
- ⚠️ Maintenance: 0/100 — Maintenance activity is low
- ✅ Community: 895.6M stars, 895.6M downloads — Large community
- ⚠️ Transparency: License: Not specified — No license specified
Trust & Safety Overview
What cfg-if Does
cfg-if is a crates in the crates category. A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted. . It is published by Unknown and has no specified license. With 895.6M GitHub stars and 895.6M downloads, it has a large and active community of users and contributors.
Who Should Use cfg-if
cfg-if is suitable for evaluation and non-critical use. Review the trust score breakdown before using in production.
Details
| Author | Unknown |
|---|---|
| Category | crates |
| License | Not specified |
| Type | crates |
| Source | View on GitHub |
| Security Score | 0/100 |
| Activity Score | 0/100 |
How to Get Started
Check the trust score before installing:
curl nerq.ai/v1/preflight?target=cfg-if
Setup guide · Full safety report · Production review · Is it safe?
Frequently Asked Questions
Last updated March 2026. Trust scores based on automated analysis of public data.