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