blob: 1272f37651ce9ed7a614db9fa3a7dad41d56a33a [file] [log] [blame]
Chih-Hung Hsieheb697232019-10-25 18:04:10 -07001# 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
Joel Galenson35062ef2021-08-09 10:38:47 -07006# to registry (e.g., crates.io) dependencies.
Chih-Hung Hsieheb697232019-10-25 18:04:10 -07007#
Joel Galenson35062ef2021-08-09 10:38:47 -07008# 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.
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070011
Alex Crichton44bffbc2017-05-19 17:51:59 -070012[package]
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070013edition = "2018"
David LeGaref0a4f612022-03-02 16:21:21 +000014rust-version = "1.31"
David Tolnayeecff602019-08-13 09:00:51 -070015name = "proc-macro2"
David LeGaref0a4f612022-03-02 16:21:21 +000016version = "1.0.36"
17authors = ["David Tolnay <dtolnay@gmail.com>", "Alex Crichton <alex@alexcrichton.com>"]
18autobenches = false
Haibo Huangab2c0192020-03-30 16:00:56 -070019description = "A substitute implementation of the compiler's `proc_macro` API to decouple\ntoken-based libraries from the procedural macro use case.\n"
Alex Crichtonf8ec9c22017-07-05 18:01:47 -070020documentation = "https://docs.rs/proc-macro2"
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070021readme = "README.md"
22keywords = ["macros"]
Haibo Huang2a9ae1e2020-05-15 23:36:41 -070023categories = ["development-tools::procedural-macro-helpers"]
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070024license = "MIT OR Apache-2.0"
David LeGaref0a4f612022-03-02 16:21:21 +000025repository = "https://github.com/dtolnay/proc-macro2"
David Tolnayeff8af22018-06-04 00:55:42 -070026[package.metadata.docs.rs]
David Tolnay279519f2018-11-11 11:31:43 -080027rustc-args = ["--cfg", "procmacro2_semver_exempt"]
Elliott Hughes42f3ad52021-04-01 16:54:35 -070028rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--cfg", "doc_cfg"]
Haibo Huangab2c0192020-03-30 16:00:56 -070029targets = ["x86_64-unknown-linux-gnu"]
30
31[package.metadata.playground]
32features = ["span-locations"]
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070033[dependencies.unicode-xid]
34version = "0.2"
35[dev-dependencies.quote]
36version = "1.0"
37default_features = false
David Tolnay7c711f02018-11-11 13:00:51 -080038
Alex Crichton44bffbc2017-05-19 17:51:59 -070039[features]
Alex Crichton0e8e7f42018-02-22 06:15:13 -080040default = ["proc-macro"]
David Tolnay17eb0702019-01-05 12:23:17 -080041nightly = []
Chih-Hung Hsieheb697232019-10-25 18:04:10 -070042proc-macro = []
43span-locations = []