depscope
Packages
IntegrateAPI DocsCuratorBenchmarkCoverage
Sign inGet API access
depscope/cargo/cfg-if

cfg-if

cargov1.0.4

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.

License MIT OR Apache-2.0permissive16 versions0 deps234,073,006 weekly dl
rust-lang/cfg-if
72
/ 100
Health
safe to use

[email protected] is safe to use (health: 72/100)

Health breakdown0 – 100
10/25
maintenance
20/20
popularity
25/25
security
15/15
maturity
2/15
community
0/15
popularity_floor
Vulnerabilities
0
none known
Maintainer trust
Active maintainers (3m)
1
Contributors (12m)
5
Primary author dominance
42%
GitHub stars
636
single active maintainer 3m
Quality signals
OSS Criticality
0.78critical
Download trend
stable(0%)

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/cargo/cfg-if
More from cargo
hashbrowngetrandomwindows-syssynrand_corerand
Browse all cargo packages →

First published · 2015-07-08T01:11:24.485040Z

Last updated · 2025-10-15T08:12:46.455816Z

DepScope

Package intelligence for AI agents. 19 ecosystems.

Resources
API DocumentationHallucination BenchmarkFor EnterpriseSwagger / OpenAPIPopular PackagesCoverageAI Plugin SetupWatch the pitch (60s)
Legal
Legal hubPrivacy PolicyTerms of ServiceCookie PolicyAcceptable UseAttributionDPASub-processorsSecurityImprintContact中文
© 2026 Cuttalo srl — Italy · VAT IT03242390734Built for AI agents