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