Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 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 |
Joel Galenson | 35062ef | 2021-08-09 10:38:47 -0700 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 7 | # |
Joel Galenson | 35062ef | 2021-08-09 10:38:47 -0700 | [diff] [blame] | 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. |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 11 | |
Alex Crichton | 44bffbc | 2017-05-19 17:51:59 -0700 | [diff] [blame] | 12 | [package] |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 13 | edition = "2018" |
David LeGare | f0a4f61 | 2022-03-02 16:21:21 +0000 | [diff] [blame] | 14 | rust-version = "1.31" |
David Tolnay | eecff60 | 2019-08-13 09:00:51 -0700 | [diff] [blame] | 15 | name = "proc-macro2" |
David LeGare | f0a4f61 | 2022-03-02 16:21:21 +0000 | [diff] [blame] | 16 | version = "1.0.36" |
| 17 | authors = ["David Tolnay <dtolnay@gmail.com>", "Alex Crichton <alex@alexcrichton.com>"] |
| 18 | autobenches = false |
Haibo Huang | ab2c019 | 2020-03-30 16:00:56 -0700 | [diff] [blame] | 19 | description = "A substitute implementation of the compiler's `proc_macro` API to decouple\ntoken-based libraries from the procedural macro use case.\n" |
Alex Crichton | f8ec9c2 | 2017-07-05 18:01:47 -0700 | [diff] [blame] | 20 | documentation = "https://docs.rs/proc-macro2" |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 21 | readme = "README.md" |
| 22 | keywords = ["macros"] |
Haibo Huang | 2a9ae1e | 2020-05-15 23:36:41 -0700 | [diff] [blame] | 23 | categories = ["development-tools::procedural-macro-helpers"] |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 24 | license = "MIT OR Apache-2.0" |
David LeGare | f0a4f61 | 2022-03-02 16:21:21 +0000 | [diff] [blame] | 25 | repository = "https://github.com/dtolnay/proc-macro2" |
David Tolnay | eff8af2 | 2018-06-04 00:55:42 -0700 | [diff] [blame] | 26 | [package.metadata.docs.rs] |
David Tolnay | 279519f | 2018-11-11 11:31:43 -0800 | [diff] [blame] | 27 | rustc-args = ["--cfg", "procmacro2_semver_exempt"] |
Elliott Hughes | 42f3ad5 | 2021-04-01 16:54:35 -0700 | [diff] [blame] | 28 | rustdoc-args = ["--cfg", "procmacro2_semver_exempt", "--cfg", "doc_cfg"] |
Haibo Huang | ab2c019 | 2020-03-30 16:00:56 -0700 | [diff] [blame] | 29 | targets = ["x86_64-unknown-linux-gnu"] |
| 30 | |
| 31 | [package.metadata.playground] |
| 32 | features = ["span-locations"] |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 33 | [dependencies.unicode-xid] |
| 34 | version = "0.2" |
| 35 | [dev-dependencies.quote] |
| 36 | version = "1.0" |
| 37 | default_features = false |
David Tolnay | 7c711f0 | 2018-11-11 13:00:51 -0800 | [diff] [blame] | 38 | |
Alex Crichton | 44bffbc | 2017-05-19 17:51:59 -0700 | [diff] [blame] | 39 | [features] |
Alex Crichton | 0e8e7f4 | 2018-02-22 06:15:13 -0800 | [diff] [blame] | 40 | default = ["proc-macro"] |
David Tolnay | 17eb070 | 2019-01-05 12:23:17 -0800 | [diff] [blame] | 41 | nightly = [] |
Chih-Hung Hsieh | eb69723 | 2019-10-25 18:04:10 -0700 | [diff] [blame] | 42 | proc-macro = [] |
| 43 | span-locations = [] |