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