| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.32" |
| 15 |
name = "cfg-if" |
| 16 |
version = "1.0.4" |
| 17 |
authors = ["Alex Crichton <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = """ |
| 25 |
A macro to ergonomically define an item depending on a large number of #[cfg] |
| 26 |
parameters. Structured like an if-else chain, the first matching branch is the |
| 27 |
item that gets emitted. |
| 28 |
""" |
| 29 |
readme = "README.md" |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/rust-lang/cfg-if" |
| 32 |
|
| 33 |
[features] |
| 34 |
rustc-dep-of-std = ["core"] |
| 35 |
|
| 36 |
[lib] |
| 37 |
name = "cfg_if" |
| 38 |
path = "src/lib.rs" |
| 39 |
|
| 40 |
[[test]] |
| 41 |
name = "xcrate" |
| 42 |
path = "tests/xcrate.rs" |
| 43 |
|
| 44 |
[dependencies.core] |
| 45 |
version = "1.0.0" |
| 46 |
optional = true |
| 47 |
package = "rustc-std-workspace-core" |