Debian Codegraph @

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