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)
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"
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]
27 [package.metadata.playground]
35 path = "examples/dump-syntax/main.rs"
36 required-features = ["full", "parsing", "extra-traits"]
37 [dependencies.proc-macro2]
39 default-features = false
44 default-features = false
46 [dependencies.unicode-xid]
48 [dev-dependencies.rayon]
51 [dev-dependencies.regex]
54 [dev-dependencies.walkdir]
59 default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
66 proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
70 repository = "dtolnay/syn"