third_party_rust_syn/Cargo.toml

74 lines
1.7 KiB
TOML
Raw Normal View History

2016-09-03 18:33:15 +00:00
[package]
2019-08-13 16:06:54 +00:00
name = "syn"
2021-08-20 21:41:54 +00:00
version = "1.0.75" # don't forget to update html_root_url and syn.json
2016-09-03 18:33:15 +00:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
2019-05-09 22:20:52 +00:00
license = "MIT OR Apache-2.0"
2018-09-02 03:25:04 +00:00
description = "Parser for Rust source code"
2018-09-06 17:08:59 +00:00
repository = "https://github.com/dtolnay/syn"
2018-09-06 16:01:40 +00:00
documentation = "https://docs.rs/syn"
categories = ["development-tools::procedural-macro-helpers"]
2018-03-31 21:01:24 +00:00
readme = "README.md"
2019-03-10 07:01:03 +00:00
include = [
"/benches/**",
2019-07-28 20:05:33 +00:00
"/build.rs",
2019-03-10 07:01:03 +00:00
"/Cargo.toml",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/src/**",
"/tests/**",
2019-03-10 07:01:03 +00:00
]
2019-07-28 00:23:53 +00:00
edition = "2018"
2019-07-27 22:26:42 +00:00
2016-09-04 18:26:41 +00:00
[features]
default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
derive = []
2017-01-24 01:59:46 +00:00
full = []
parsing = []
2019-08-13 16:06:54 +00:00
printing = ["quote"]
2016-09-11 19:58:56 +00:00
visit = []
2018-01-06 21:52:48 +00:00
visit-mut = []
2017-01-26 19:45:17 +00:00
fold = []
2017-12-26 21:43:39 +00:00
clone-impls = []
extra-traits = []
2019-08-13 16:06:54 +00:00
proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
2020-05-16 02:25:51 +00:00
test = ["syn-test-suite/all-features"]
2016-09-04 18:26:41 +00:00
2016-09-03 18:33:15 +00:00
[dependencies]
proc-macro2 = { version = "1.0.26", default-features = false }
2019-08-13 16:06:54 +00:00
quote = { version = "1.0", optional = true, default-features = false }
2019-07-28 18:12:47 +00:00
unicode-xid = "0.2"
2017-05-23 17:58:24 +00:00
2016-10-01 07:40:31 +00:00
[dev-dependencies]
2019-11-24 00:35:13 +00:00
anyhow = "1.0"
flate2 = "1.0"
2020-10-03 11:03:15 +00:00
insta = "1.0"
rayon = "1.0"
2019-11-10 02:13:27 +00:00
ref-cast = "1.0"
2018-08-24 18:47:15 +00:00
regex = "1.0"
2020-01-01 06:07:47 +00:00
reqwest = { version = "0.10", features = ["blocking"] }
2020-05-16 02:25:51 +00:00
syn-test-suite = { version = "0", path = "tests/features" }
tar = "0.4.16"
2019-05-08 20:57:13 +00:00
termcolor = "1.0"
walkdir = "2.1"
[[bench]]
name = "rust"
harness = false
required-features = ["full", "parsing"]
2019-06-24 01:06:42 +00:00
[[bench]]
name = "file"
required-features = ["full", "parsing"]
[package.metadata.docs.rs]
all-features = true
2020-03-17 20:28:17 +00:00
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "doc_cfg"]
[package.metadata.playground]
features = ["full", "visit", "visit-mut", "fold", "extra-traits"]
2018-08-07 07:18:20 +00:00
2019-02-09 00:03:49 +00:00
[workspace]
2020-05-16 02:25:51 +00:00
members = ["dev", "json", "tests/features"]