Macro to define an item depending on a large number of #[cfg] parameters
24.65 KB
built 2026-10-29 15:14:51 GMT
Description
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.
Dependencies
7 totalRequires4
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rust-packaging >= 21
Provides3
- rust-match_cfg+default-devel = 0.1.0-16.fc45
- rust-match_cfg+use_core-devel = 0.1.0-16.fc45
- rust-match_cfg-devel = 0.1.0-16.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| match_cfg-0.1.0.crate | 6.99 KB |
| rust-match_cfg.spec | 4.42 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
