[dependencies.unicode-ident]
version = "1.0"
[dev-dependencies.flate2]
version = "1.0"
[dev-dependencies.quote]
default-features = false
version = "1.0"
[dev-dependencies.rayon]
version = "1.0"
[dev-dependencies.rustversion]
version = "1"
[dev-dependencies.tar]
version = "0.4"
[features]
default = ["proc-macro"]
nightly = []
proc-macro = []
span-locations = []
[lib]
doc-scrape-examples = false
name = "proc_macro2"
path = "src/lib.rs"
[package]
authors = ["David Tolnay <dtolnay@gmail.com>", "Alex Crichton <alex@alexcrichton.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["development-tools::procedural-macro-helpers"]
description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case."
documentation = "https://docs.rs/proc-macro2"
edition = "2021"
keywords = ["macros", "syn"]
license = "MIT OR Apache-2.0"
name = "proc-macro2"
readme = "README.md"
repository = "https://github.com/dtolnay/proc-macro2"
rust-version = "1.56"
version = "1.0.89"
[package.metadata.docs.rs]
rustc-args = ["--cfg", "procmacro2_semver_exempt"]
rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
[package.metadata.playground]
features = ["span-locations"]
[[test]]
name = "comments"
path = "tests/comments.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "marker"
path = "tests/marker.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[[test]]
name = "test_fmt"
path = "tests/test_fmt.rs"
[[test]]
name = "test_size"
path = "tests/test_size.rs"