Debian Codegraph @

third_party/rust/proc-macro2/Cargo.toml

raw
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]
13 edition = "2021"
14 rust-version = "1.56"
15 name = "proc-macro2"
16 version = "1.0.86"
17 authors = [
18 "David Tolnay <[email protected]>",
19 "Alex Crichton <[email protected]>",
20 ]
21 build = "build.rs"
22 autobins = false
23 autoexamples = false
24 autotests = false
25 autobenches = false
26 description = "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case."
27 documentation = "https://docs.rs/proc-macro2"
28 readme = "README.md"
29 keywords = [
30 "macros",
31 "syn",
32 ]
33 categories = ["development-tools::procedural-macro-helpers"]
34 license = "MIT OR Apache-2.0"
35 repository = "https://github.com/dtolnay/proc-macro2"
36
37 [package.metadata.docs.rs]
38 rustc-args = [
39 "--cfg",
40 "procmacro2_semver_exempt",
41 ]
42 rustdoc-args = [
43 "--cfg",
44 "procmacro2_semver_exempt",
45 "--generate-link-to-definition",
46 ]
47 targets = ["x86_64-unknown-linux-gnu"]
48
49 [package.metadata.playground]
50 features = ["span-locations"]
51
52 [lib]
53 name = "proc_macro2"
54 path = "src/lib.rs"
55 doc-scrape-examples = false
56
57 [[test]]
58 name = "comments"
59 path = "tests/comments.rs"
60
61 [[test]]
62 name = "features"
63 path = "tests/features.rs"
64
65 [[test]]
66 name = "marker"
67 path = "tests/marker.rs"
68
69 [[test]]
70 name = "test"
71 path = "tests/test.rs"
72
73 [[test]]
74 name = "test_fmt"
75 path = "tests/test_fmt.rs"
76
77 [[test]]
78 name = "test_size"
79 path = "tests/test_size.rs"
80
81 [dependencies.unicode-ident]
82 version = "1.0"
83
84 [dev-dependencies.flate2]
85 version = "1.0"
86
87 [dev-dependencies.quote]
88 version = "1.0"
89 default-features = false
90
91 [dev-dependencies.rayon]
92 version = "1.0"
93
94 [dev-dependencies.rustversion]
95 version = "1"
96
97 [dev-dependencies.tar]
98 version = "0.4"
99
100 [features]
101 default = ["proc-macro"]
102 nightly = []
103 proc-macro = []
104 span-locations = []