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