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"
|
2017-02-10 02:27:32 +00:00
|
|
|
categories = ["development-tools::procedural-macro-helpers"]
|
2018-03-31 21:01:24 +00:00
|
|
|
readme = "README.md"
|
2017-11-12 19:11:28 +00:00
|
|
|
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"
|
|
|
|
|
2017-10-26 20:43:19 +00:00
|
|
|
[[example]]
|
2018-01-01 05:17:46 +00:00
|
|
|
name = "dump-syntax"
|
|
|
|
path = "examples/dump-syntax/main.rs"
|
|
|
|
required-features = ["full", "parsing", "extra-traits"]
|
2017-10-26 20:43:19 +00:00
|
|
|
|
2016-09-04 18:26:41 +00:00
|
|
|
[features]
|
2018-02-22 22:07:00 +00:00
|
|
|
default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
|
2018-01-03 08:22:08 +00:00
|
|
|
derive = []
|
2017-01-24 01:59:46 +00:00
|
|
|
full = []
|
2017-12-31 23:35:12 +00:00
|
|
|
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 = []
|
2018-02-22 22:07:00 +00:00
|
|
|
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]
|
2018-05-29 04:13:01 +00:00
|
|
|
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]
|
2018-05-21 02:40:49 +00:00
|
|
|
rayon = "1.0"
|
2018-08-24 18:47:15 +00:00
|
|
|
regex = "1.0"
|
2018-05-21 02:40:49 +00:00
|
|
|
walkdir = "2.1"
|
2018-01-07 01:47:29 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2018-05-12 06:22:25 +00:00
|
|
|
|
|
|
|
[package.metadata.playground]
|
|
|
|
all-features = true
|
2018-08-07 07:18:20 +00:00
|
|
|
|
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "dtolnay/syn" }
|