Debian Codegraph @

tests/data/syn-2.0.34.Cargo.toml.patched

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 = "syn"
16 version = "2.0.34"
17 authors = ["David Tolnay <[email protected]>"]
18 include = [
19 "/benches/**",
20 "/Cargo.toml",
21 "/LICENSE-APACHE",
22 "/LICENSE-MIT",
23 "/README.md",
24 "/src/**",
25 "/tests/**",
26 ]
27 description = "Parser for Rust source code"
28 documentation = "https://docs.rs/syn"
29 readme = "README.md"
30 keywords = [
31 "macros",
32 "syn",
33 ]
34 categories = [
35 "development-tools::procedural-macro-helpers",
36 "parser-implementations",
37 ]
38 license = "MIT OR Apache-2.0"
39 repository = "https://github.com/dtolnay/syn"
40
41 [package.metadata.docs.rs]
42 all-features = true
43 rustdoc-args = [
44 "--cfg",
45 "doc_cfg",
46 "--generate-link-to-definition",
47 ]
48 targets = ["x86_64-unknown-linux-gnu"]
49
50 [package.metadata.playground]
51 features = [
52 "full",
53 "visit",
54 "visit-mut",
55 "fold",
56 "extra-traits",
57 ]
58
59 [lib]
60 doc-scrape-examples = false
61
62 [[bench]]
63 name = "rust"
64 harness = false
65 required-features = [
66 "full",
67 "parsing",
68 ]
69
70 [[bench]]
71 name = "file"
72 required-features = [
73 "full",
74 "parsing",
75 ]
76
77 [dependencies.proc-macro2]
78 version = "1.0.67"
79 default-features = false
80
81 [dependencies.quote]
82 version = "1.0.28"
83 optional = true
84 default-features = false
85
86 [dependencies.unicode-ident]
87 version = "1"
88
89 [dev-dependencies.anyhow]
90 version = "1"
91
92 [dev-dependencies.automod]
93 version = "1"
94
95 [dev-dependencies.flate2]
96 version = "1"
97
98 [dev-dependencies.insta]
99 version = "1"
100
101 [dev-dependencies.rayon]
102 version = "1"
103
104 [dev-dependencies.ref-cast]
105 version = "1"
106
107 [dev-dependencies.regex]
108 version = "1"
109
110 [dev-dependencies.reqwest]
111 version = "0.11"
112 features = ["blocking"]
113
114 [dev-dependencies.rustversion]
115 version = "1"
116
117 [dev-dependencies.syn-test-suite]
118 version = "0"
119
120 [dev-dependencies.tar]
121 version = "0.4.16"
122
123 [dev-dependencies.termcolor]
124 version = "1"
125
126 [dev-dependencies.walkdir]
127 version = "2.3.2"
128
129 [features]
130 clone-impls = []
131 default = [
132 "derive",
133 "parsing",
134 "printing",
135 "clone-impls",
136 "proc-macro",
137 ]
138 derive = []
139 extra-traits = []
140 fold = []
141 full = []
142 parsing = []
143 printing = ["quote"]
144 proc-macro = [
145 "proc-macro2/proc-macro",
146 "quote/proc-macro",
147 ]
148 test = ["syn-test-suite/all-features"]
149 visit = []
150 visit-mut = []