| 1 |
[package] |
| 2 |
name = "cfg-if" |
| 3 |
version = "1.0.4" |
| 4 |
authors = ["Alex Crichton <[email protected]>"] |
| 5 |
license = "MIT OR Apache-2.0" |
| 6 |
readme = "README.md" |
| 7 |
repository = "https://github.com/rust-lang/cfg-if" |
| 8 |
description = """ |
| 9 |
A macro to ergonomically define an item depending on a large number of #[cfg] |
| 10 |
parameters. Structured like an if-else chain, the first matching branch is the |
| 11 |
item that gets emitted. |
| 12 |
""" |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.32" |
| 15 |
|
| 16 |
[dependencies] |
| 17 |
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" } |
| 18 |
|
| 19 |
[features] |
| 20 |
rustc-dep-of-std = ["core"] |