| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies |
| 7 |
# |
| 8 |
# If you believe there's an error in this file please file an |
| 9 |
# issue against the rust-lang/cargo repository. If you're |
| 10 |
# editing this file be aware that the upstream Cargo.toml |
| 11 |
# will likely look very different (and much more reasonable) |
| 12 |
|
| 13 |
[package] |
| 14 |
edition = "2018" |
| 15 |
name = "cfg-if" |
| 16 |
version = "1.0.0" |
| 17 |
authors = ["Alex Crichton <[email protected]>"] |
| 18 |
description = "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n" |
| 19 |
homepage = "https://github.com/alexcrichton/cfg-if" |
| 20 |
documentation = "https://docs.rs/cfg-if" |
| 21 |
readme = "README.md" |
| 22 |
license = "MIT/Apache-2.0" |
| 23 |
repository = "https://github.com/alexcrichton/cfg-if" |
| 24 |
[dependencies.compiler_builtins] |
| 25 |
version = "0.1.2" |
| 26 |
optional = true |
| 27 |
|
| 28 |
[dependencies.core] |
| 29 |
version = "1.0.0" |
| 30 |
optional = true |
| 31 |
package = "rustc-std-workspace-core" |
| 32 |
|
| 33 |
[features] |
| 34 |
rustc-dep-of-std = ["core", "compiler_builtins"] |
| 35 |
[badges.travis-ci] |
| 36 |
repository = "alexcrichton/cfg-if" |