21 lines
580 B
TOML
21 lines
580 B
TOML
[package]
|
|
name = "cfg-if"
|
|
version = "1.0.4"
|
|
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"
|
|
rust-version = "1.32"
|
|
|
|
[dependencies]
|
|
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
|
|
|
|
[features]
|
|
rustc-dep-of-std = ["core"]
|