Verified record · from the answer index
cfg-if
librarytested · static-verifiedscore 65/100signed passport ✓published 14d ago · verified 2026-10-24124,912,654 monthly downloads
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.
lib:crates:cfg-if · published by rust-lang · source repository