Skip to content
The Internet Compass

crates.io

match_cfg

A convenience macro to ergonomically define an item depending on a large number of `#[cfg]` parameters. Structured like match statement, the first matching branch is the item that gets emitted.

Repository

https://github.com/gnzlbg/match_cfg ↗

Sourced from crates.io · Updated August 13, 2026

Package metadata from crates.io, the Rust community's crate registry.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is match_cfg?

A convenience macro to ergonomically define an item depending on a large number of `#[cfg]` parameters. Structured like match statement, the first matching branch is the item that gets emitted.

Is match_cfg safe to use?

No vulnerability data has been synced for match_cfg yet.

What license does match_cfg use?

match_cfg does not specify a license.