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