third_party_rust_syn/Cargo.toml

52 lines
1.2 KiB
TOML
Raw Normal View History

2016-09-03 18:33:15 +00:00
[package]
2018-09-06 16:01:40 +00:00
name = "syn"
2019-01-16 04:58:29 +00:00
version = "0.15.26" # don't forget to update html_root_url
2016-09-03 18:33:15 +00:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT/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"
include = ["/Cargo.toml", "/src/**/*.rs", "/README.md", "/LICENSE-APACHE", "/LICENSE-MIT"]
2016-09-03 18:33:15 +00:00
2018-09-02 03:13:15 +00:00
[lib]
name = "syn"
[[example]]
2018-01-01 05:17:46 +00:00
name = "dump-syntax"
path = "examples/dump-syntax/main.rs"
required-features = ["full", "parsing", "extra-traits"]
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 = []
2017-12-26 21:43:39 +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 = []
proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
2016-09-04 18:26:41 +00:00
2016-09-03 18:33:15 +00:00
[dependencies]
proc-macro2 = { version = "0.4.4", default-features = false }
2018-05-21 02:42:54 +00:00
quote = { version = "0.6", optional = true, default-features = false }
2017-06-03 23:15:13 +00:00
unicode-xid = "0.1"
2017-05-23 17:58:24 +00:00
2016-10-01 07:40:31 +00:00
[dev-dependencies]
rayon = "1.0"
2018-08-24 18:47:15 +00:00
regex = "1.0"
walkdir = "2.1"
[package.metadata.docs.rs]
all-features = true
[package.metadata.playground]
all-features = true
2018-08-07 07:18:20 +00:00
[badges]
travis-ci = { repository = "dtolnay/syn" }