]> git.proxmox.com Git - rustc.git/blob - vendor/syn/Cargo.toml
New upstream version 1.33.0+dfsg1
[rustc.git] / vendor / syn / Cargo.toml
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 believe there's an error in this file please file an
9 # issue against the rust-lang/cargo repository. If you're
10 # editing this file be aware that the upstream Cargo.toml
11 # will likely look very different (and much more reasonable)
12
13 [package]
14 name = "syn"
15 version = "0.15.22"
16 authors = ["David Tolnay <dtolnay@gmail.com>"]
17 include = ["/Cargo.toml", "/src/**/*.rs", "/README.md", "/LICENSE-APACHE", "/LICENSE-MIT"]
18 description = "Parser for Rust source code"
19 documentation = "https://docs.rs/syn"
20 readme = "README.md"
21 categories = ["development-tools::procedural-macro-helpers"]
22 license = "MIT/Apache-2.0"
23 repository = "https://github.com/dtolnay/syn"
24 [package.metadata.docs.rs]
25 all-features = true
26
27 [package.metadata.playground]
28 all-features = true
29
30 [lib]
31 name = "syn"
32
33 [[example]]
34 name = "dump-syntax"
35 path = "examples/dump-syntax/main.rs"
36 required-features = ["full", "parsing", "extra-traits"]
37 [dependencies.proc-macro2]
38 version = "0.4.4"
39 default-features = false
40
41 [dependencies.quote]
42 version = "0.6"
43 optional = true
44 default-features = false
45
46 [dependencies.unicode-xid]
47 version = "0.1"
48 [dev-dependencies.rayon]
49 version = "1.0"
50
51 [dev-dependencies.regex]
52 version = "1.0"
53
54 [dev-dependencies.walkdir]
55 version = "2.1"
56
57 [features]
58 clone-impls = []
59 default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
60 derive = []
61 extra-traits = []
62 fold = []
63 full = []
64 parsing = []
65 printing = ["quote"]
66 proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
67 visit = []
68 visit-mut = []
69 [badges.travis-ci]
70 repository = "dtolnay/syn"