• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.56"
15name = "proc-macro2"
16version = "1.0.76"
17authors = [
18    "David Tolnay <dtolnay@gmail.com>",
19    "Alex Crichton <alex@alexcrichton.com>",
20]
21autobenches = false
22description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case."
23documentation = "https://docs.rs/proc-macro2"
24readme = "README.md"
25keywords = [
26    "macros",
27    "syn",
28]
29categories = ["development-tools::procedural-macro-helpers"]
30license = "MIT OR Apache-2.0"
31repository = "https://github.com/dtolnay/proc-macro2"
32
33[package.metadata.docs.rs]
34rustc-args = [
35    "--cfg",
36    "procmacro2_semver_exempt",
37]
38rustdoc-args = [
39    "--cfg",
40    "procmacro2_semver_exempt",
41    "--cfg",
42    "doc_cfg",
43    "--generate-link-to-definition",
44]
45targets = ["x86_64-unknown-linux-gnu"]
46
47[package.metadata.playground]
48features = ["span-locations"]
49
50[lib]
51doc-scrape-examples = false
52
53[dependencies.unicode-ident]
54version = "1.0"
55
56[dev-dependencies.quote]
57version = "1.0"
58default_features = false
59
60[dev-dependencies.rustversion]
61version = "1"
62
63[features]
64default = ["proc-macro"]
65nightly = []
66proc-macro = []
67span-locations = []
68