]>
Commit | Line | Data |
---|---|---|
e74abb32 XL |
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 | |
94222f64 | 6 | # to registry (e.g., crates.io) dependencies. |
e74abb32 | 7 | # |
94222f64 XL |
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. | |
e74abb32 XL |
11 | |
12 | [package] | |
13 | edition = "2018" | |
3c0e092e | 14 | rust-version = "1.31" |
e74abb32 | 15 | name = "proc-macro2" |
923072b8 | 16 | version = "1.0.39" |
04454e1e FG |
17 | authors = [ |
18 | "David Tolnay <dtolnay@gmail.com>", | |
19 | "Alex Crichton <alex@alexcrichton.com>", | |
20 | ] | |
5099ac24 | 21 | autobenches = false |
04454e1e FG |
22 | description = """ |
23 | A substitute implementation of the compiler's `proc_macro` API to decouple | |
24 | token-based libraries from the procedural macro use case. | |
25 | """ | |
e74abb32 XL |
26 | documentation = "https://docs.rs/proc-macro2" |
27 | readme = "README.md" | |
28 | keywords = ["macros"] | |
f035d41b | 29 | categories = ["development-tools::procedural-macro-helpers"] |
e74abb32 | 30 | license = "MIT OR Apache-2.0" |
3c0e092e | 31 | repository = "https://github.com/dtolnay/proc-macro2" |
04454e1e | 32 | |
e74abb32 | 33 | [package.metadata.docs.rs] |
04454e1e FG |
34 | rustc-args = [ |
35 | "--cfg", | |
36 | "procmacro2_semver_exempt", | |
37 | ] | |
38 | rustdoc-args = [ | |
39 | "--cfg", | |
40 | "procmacro2_semver_exempt", | |
41 | "--cfg", | |
42 | "doc_cfg", | |
43 | ] | |
f035d41b | 44 | targets = ["x86_64-unknown-linux-gnu"] |
e74abb32 | 45 | |
f035d41b XL |
46 | [package.metadata.playground] |
47 | features = ["span-locations"] | |
04454e1e | 48 | |
923072b8 FG |
49 | [dependencies.unicode-ident] |
50 | version = "1.0" | |
04454e1e | 51 | |
e74abb32 XL |
52 | [dev-dependencies.quote] |
53 | version = "1.0" | |
54 | default_features = false | |
55 | ||
56 | [features] | |
57 | default = ["proc-macro"] | |
58 | nightly = [] | |
59 | proc-macro = [] | |
60 | span-locations = [] |