1[package] 2name = "cfg-if" 3version = "1.0.0" 4authors = ["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'] 26