What is cfg-if?

63/100
Trust Score (C+)
⚠️ Use Caution

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+). 0 GitHub stars. Published by Unknown. Last analyzed September 2026.

Why This Score

Trust & Safety Overview

63
TRUST SCORE
C+
GRADE
0
STARS
0
DOWNLOADS

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 0 GitHub stars and 0 downloads, it has a small 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

AuthorUnknown
Categorycrates
LicenseNot specified
Typecrates
SourceView on GitHub
Security Score0/100
Activity Score0/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

What is cfg-if used for?
cfg-if is a crates tool. 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. .
Is cfg-if free?
License: Check project page. cfg-if has 0 GitHub stars.
Is cfg-if safe?
cfg-if has a Nerq Trust Score of 63/100 (C+). Use with caution.
What are alternatives to cfg-if?
Top alternatives: . See full comparison.

Last updated September 2026. Trust scores based on automated analysis of public data.

We use cookies for analytics and caching. Privacy Policy