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