1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
16 authors = ["Alex Crichton <alex@alexcrichton.com>", "David Tolnay <dtolnay@gmail.com>"]
17 description = "A substitute implementation of the compiler's `proc_macro` API to decouple\ntoken-based libraries from the procedural macro use case.\n"
18 documentation = "https://docs.rs/proc-macro2"
21 categories = ["development-tools::procedural-macro-helpers"]
22 license = "MIT OR Apache-2.0"
23 repository = "https://github.com/alexcrichton/proc-macro2"
24 [package.metadata.docs.rs]
25 rustc-args = ["--cfg", "procmacro2_semver_exempt"]
26 rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--cfg", "doc_cfg"]
27 targets = ["x86_64-unknown-linux-gnu"]
29 [package.metadata.playground]
30 features = ["span-locations"]
31 [dependencies.unicode-xid]
33 [dev-dependencies.quote]
35 default_features = false
38 default = ["proc-macro"]