2015-07-08 01:07:04 +00:00
|
|
|
[package]
|
|
|
|
name = "cfg-if"
|
2020-10-06 18:43:50 +00:00
|
|
|
version = "1.0.0"
|
2015-07-08 01:07:04 +00:00
|
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/alexcrichton/cfg-if"
|
|
|
|
homepage = "https://github.com/alexcrichton/cfg-if"
|
2018-05-03 13:47:04 +00:00
|
|
|
documentation = "https://docs.rs/cfg-if"
|
2015-07-08 01:07:04 +00:00
|
|
|
description = """
|
|
|
|
A macro to ergonomically define an item depending on a large number of #[cfg]
|
|
|
|
parameters. Structured like an if-else chain, the first matching branch is the
|
|
|
|
item that gets emitted.
|
|
|
|
"""
|
2019-06-21 16:47:38 +00:00
|
|
|
edition = "2018"
|
2017-07-25 21:01:30 +00:00
|
|
|
|
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "alexcrichton/cfg-if" }
|
2019-05-15 00:42:37 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
core = { version = "1.0.0", optional = true, package = 'rustc-std-workspace-core' }
|
2019-05-15 00:42:54 +00:00
|
|
|
compiler_builtins = { version = '0.1.2', optional = true }
|
2019-05-15 00:42:37 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
rustc-dep-of-std = ['core', 'compiler_builtins']
|