Debian Codegraph @

.cargo/vendor/syn-1.0.109/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 = "2018"
14 rust-version = "1.31"
15 name = "syn"
16 version = "1.0.109"
17 authors = ["David Tolnay <[email protected]>"]
18 include = [
19 "/benches/**",
20 "/build.rs",
21 "/Cargo.toml",
22 "/LICENSE-APACHE",
23 "/LICENSE-MIT",
24 "/README.md",
25 "/src/**",
26 "/tests/**",
27 ]
28 description = "Parser for Rust source code"
29 documentation = "https://docs.rs/syn"
30 readme = "README.md"
31 keywords = [
32 "macros",
33 "syn",
34 ]
35 categories = [
36 "development-tools::procedural-macro-helpers",
37 "parser-implementations",
38 ]
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/dtolnay/syn"
41
42 [package.metadata.docs.rs]
43 all-features = true
44 rustdoc-args = [
45 "--cfg",
46 "doc_cfg",
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.46"
79 default-features = false
80
81 [dependencies.quote]
82 version = "1.0"
83 optional = true
84 default-features = false
85
86 [dependencies.unicode-ident]
87 version = "1.0"
88
89 [dev-dependencies.anyhow]
90 version = "1.0"
91
92 [dev-dependencies.automod]
93 version = "1.0"
94
95 [dev-dependencies.flate2]
96 version = "1.0"
97
98 [dev-dependencies.insta]
99 version = "1.0"
100
101 [dev-dependencies.rayon]
102 version = "1.0"
103
104 [dev-dependencies.ref-cast]
105 version = "1.0"
106
107 [dev-dependencies.regex]
108 version = "1.0"
109
110 [dev-dependencies.reqwest]
111 version = "0.11"
112 features = ["blocking"]
113
114 [dev-dependencies.syn-test-suite]
115 version = "0"
116
117 [dev-dependencies.tar]
118 version = "0.4.16"
119
120 [dev-dependencies.termcolor]
121 version = "1.0"
122
123 [dev-dependencies.walkdir]
124 version = "2.1"
125
126 [features]
127 clone-impls = []
128 default = [
129 "derive",
130 "parsing",
131 "printing",
132 "clone-impls",
133 "proc-macro",
134 ]
135 derive = []
136 extra-traits = []
137 fold = []
138 full = []
139 parsing = []
140 printing = ["quote"]
141 proc-macro = [
142 "proc-macro2/proc-macro",
143 "quote/proc-macro",
144 ]
145 test = ["syn-test-suite/all-features"]
146 visit = []
147 visit-mut = []