1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
[package]
name = "cfg-if"
version = "1.0.3"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-lang/cfg-if"
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.
"""
edition = "2018"
[dependencies]
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
[features]
rustc-dep-of-std = ["core"]
|