1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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
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)
17 authors = ["David Tolnay <dtolnay@gmail.com>"]
18 include = ["/benches/**", "/build.rs", "/Cargo.toml", "/LICENSE-APACHE", "/LICENSE-MIT", "/README.md", "/src/**", "/tests/**"]
19 description = "Parser for Rust source code"
20 documentation = "https://docs.rs/syn"
22 categories = ["development-tools::procedural-macro-helpers"]
23 license = "MIT OR Apache-2.0"
24 repository = "https://github.com/dtolnay/syn"
25 [package.metadata.docs.rs]
28 [package.metadata.playground]
34 required-features = ["full", "parsing"]
38 required-features = ["full", "parsing"]
39 [dependencies.proc-macro2]
41 default-features = false
46 default-features = false
48 [dependencies.unicode-xid]
50 [dev-dependencies.anyhow]
53 [dev-dependencies.flate2]
56 [dev-dependencies.insta]
59 [dev-dependencies.rayon]
62 [dev-dependencies.ref-cast]
65 [dev-dependencies.regex]
68 [dev-dependencies.reqwest]
69 version = "0.10.0-alpha.2"
70 features = ["blocking"]
72 [dev-dependencies.tar]
75 [dev-dependencies.termcolor]
78 [dev-dependencies.walkdir]
83 default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
90 proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
94 repository = "dtolnay/syn"