Chih-Hung Hsieh | db886c6 | 2020-04-16 10:44:22 -0700 | [diff] [blame] | 1 | [package] |
| 2 | name = "cfg-if" |
Chih-Hung Hsieh | 70032b6 | 2020-10-26 13:16:41 -0700 | [diff] [blame] | 3 | version = "1.0.0" |
Chih-Hung Hsieh | db886c6 | 2020-04-16 10:44:22 -0700 | [diff] [blame] | 4 | authors = ["Alex Crichton <alex@alexcrichton.com>"] |
| 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'] |