26 lines
792 B
TOML
Raw Permalink Normal View History

2015-07-07 18:07:04 -07:00
[package]
name = "cfg-if"
2020-10-06 11:43:50 -07:00
version = "1.0.0"
2015-07-07 18:07:04 -07: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 06:47:04 -07:00
documentation = "https://docs.rs/cfg-if"
2015-07-07 18:07:04 -07: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 09:47:38 -07:00
edition = "2018"
2017-07-25 23:01:30 +02:00
[badges]
travis-ci = { repository = "alexcrichton/cfg-if" }
[dependencies]
core = { version = "1.0.0", optional = true, package = 'rustc-std-workspace-core' }
2019-05-14 17:42:54 -07:00
compiler_builtins = { version = '0.1.2', optional = true }
[features]
rustc-dep-of-std = ['core', 'compiler_builtins']