Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 1 | [package] |
| 2 | name = "syn" |
Joel Galenson | 2909d9d | 2021-04-13 08:49:59 -0700 | [diff] [blame] | 3 | version = "1.0.69" # don't forget to update html_root_url and syn.json |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 4 | authors = ["David Tolnay <dtolnay@gmail.com>"] |
| 5 | license = "MIT OR Apache-2.0" |
| 6 | description = "Parser for Rust source code" |
| 7 | repository = "https://github.com/dtolnay/syn" |
| 8 | documentation = "https://docs.rs/syn" |
| 9 | categories = ["development-tools::procedural-macro-helpers"] |
| 10 | readme = "README.md" |
| 11 | include = [ |
| 12 | "/benches/**", |
| 13 | "/build.rs", |
| 14 | "/Cargo.toml", |
| 15 | "/LICENSE-APACHE", |
| 16 | "/LICENSE-MIT", |
| 17 | "/README.md", |
| 18 | "/src/**", |
| 19 | "/tests/**", |
| 20 | ] |
Chih-Hung Hsieh | 467ea21 | 2019-10-31 17:36:47 -0700 | [diff] [blame] | 21 | edition = "2018" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 22 | |
| 23 | [features] |
| 24 | default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"] |
| 25 | derive = [] |
| 26 | full = [] |
| 27 | parsing = [] |
| 28 | printing = ["quote"] |
| 29 | visit = [] |
| 30 | visit-mut = [] |
| 31 | fold = [] |
| 32 | clone-impls = [] |
| 33 | extra-traits = [] |
| 34 | proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"] |
Haibo Huang | 548c6a3 | 2020-05-15 23:36:50 -0700 | [diff] [blame] | 35 | test = ["syn-test-suite/all-features"] |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 36 | |
| 37 | [dependencies] |
Joel Galenson | 2909d9d | 2021-04-13 08:49:59 -0700 | [diff] [blame] | 38 | proc-macro2 = { version = "1.0.26", default-features = false } |
Chih-Hung Hsieh | 467ea21 | 2019-10-31 17:36:47 -0700 | [diff] [blame] | 39 | quote = { version = "1.0", optional = true, default-features = false } |
| 40 | unicode-xid = "0.2" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 41 | |
| 42 | [dev-dependencies] |
Chih-Hung Hsieh | 218e269 | 2020-03-20 13:02:10 -0700 | [diff] [blame] | 43 | anyhow = "1.0" |
| 44 | flate2 = "1.0" |
Chih-Hung Hsieh | a0ab740 | 2020-10-26 13:16:52 -0700 | [diff] [blame] | 45 | insta = "1.0" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 46 | rayon = "1.0" |
Chih-Hung Hsieh | 218e269 | 2020-03-20 13:02:10 -0700 | [diff] [blame] | 47 | ref-cast = "1.0" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 48 | regex = "1.0" |
Chih-Hung Hsieh | 218e269 | 2020-03-20 13:02:10 -0700 | [diff] [blame] | 49 | reqwest = { version = "0.10", features = ["blocking"] } |
Haibo Huang | 548c6a3 | 2020-05-15 23:36:50 -0700 | [diff] [blame] | 50 | syn-test-suite = { version = "0", path = "tests/features" } |
Haibo Huang | ec2e2eb | 2021-01-05 21:38:44 -0800 | [diff] [blame] | 51 | tar = "0.4.16" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 52 | termcolor = "1.0" |
| 53 | walkdir = "2.1" |
| 54 | |
| 55 | [[bench]] |
| 56 | name = "rust" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 57 | harness = false |
| 58 | required-features = ["full", "parsing"] |
| 59 | |
| 60 | [[bench]] |
| 61 | name = "file" |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 62 | required-features = ["full", "parsing"] |
| 63 | |
| 64 | [package.metadata.docs.rs] |
| 65 | all-features = true |
Chih-Hung Hsieh | 725b6ec | 2020-04-16 17:09:06 -0700 | [diff] [blame] | 66 | targets = ["x86_64-unknown-linux-gnu"] |
Haibo Huang | ec2e2eb | 2021-01-05 21:38:44 -0800 | [diff] [blame] | 67 | rustdoc-args = ["--cfg", "doc_cfg"] |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 68 | |
| 69 | [package.metadata.playground] |
Haibo Huang | 4fbebf9 | 2020-05-26 17:08:50 -0700 | [diff] [blame] | 70 | features = ["full", "visit", "visit-mut", "fold", "extra-traits"] |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 71 | |
Chih-Hung Hsieh | ec8f5e4 | 2019-10-25 18:13:44 -0700 | [diff] [blame] | 72 | [workspace] |
Haibo Huang | 548c6a3 | 2020-05-15 23:36:50 -0700 | [diff] [blame] | 73 | members = ["dev", "json", "tests/features"] |