• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 = "2018"
14rust-version = "1.31"
15name = "syn"
16version = "1.0.86"
17authors = ["David Tolnay <dtolnay@gmail.com>"]
18include = ["/benches/**", "/build.rs", "/Cargo.toml", "/LICENSE-APACHE", "/LICENSE-MIT", "/README.md", "/src/**", "/tests/**"]
19description = "Parser for Rust source code"
20documentation = "https://docs.rs/syn"
21readme = "README.md"
22categories = ["development-tools::procedural-macro-helpers"]
23license = "MIT OR Apache-2.0"
24repository = "https://github.com/dtolnay/syn"
25[package.metadata.docs.rs]
26all-features = true
27rustdoc-args = ["--cfg", "doc_cfg"]
28targets = ["x86_64-unknown-linux-gnu"]
29
30[package.metadata.playground]
31features = ["full", "visit", "visit-mut", "fold", "extra-traits"]
32
33[[bench]]
34name = "rust"
35harness = false
36required-features = ["full", "parsing"]
37
38[[bench]]
39name = "file"
40required-features = ["full", "parsing"]
41[dependencies.proc-macro2]
42version = "1.0.32"
43default-features = false
44
45[dependencies.quote]
46version = "1.0"
47optional = true
48default-features = false
49
50[dependencies.unicode-xid]
51version = "0.2"
52[dev-dependencies.anyhow]
53version = "1.0"
54
55[dev-dependencies.automod]
56version = "1.0"
57
58[dev-dependencies.flate2]
59version = "1.0"
60
61[dev-dependencies.insta]
62version = "1.0"
63
64[dev-dependencies.rayon]
65version = "1.0"
66
67[dev-dependencies.ref-cast]
68version = "1.0"
69
70[dev-dependencies.regex]
71version = "1.0"
72
73[dev-dependencies.reqwest]
74version = "0.11"
75features = ["blocking"]
76
77[dev-dependencies.syn-test-suite]
78version = "0"
79
80[dev-dependencies.tar]
81version = "0.4.16"
82
83[dev-dependencies.termcolor]
84version = "1.0"
85
86[dev-dependencies.walkdir]
87version = "2.1"
88
89[features]
90clone-impls = []
91default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
92derive = []
93extra-traits = []
94fold = []
95full = []
96parsing = []
97printing = ["quote"]
98proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
99test = ["syn-test-suite/all-features"]
100visit = []
101visit-mut = []
102