2016-09-03 18:33:15 +00:00
|
|
|
[package]
|
2016-09-07 15:18:21 +00:00
|
|
|
name = "syn"
|
2018-01-08 16:26:15 +00:00
|
|
|
version = "0.12.0" # don't forget to update version in readme for breaking changes
|
2016-09-03 18:33:15 +00:00
|
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
|
|
license = "MIT/Apache-2.0"
|
2016-11-25 19:18:28 +00:00
|
|
|
description = "Nom parser for Rust source code"
|
2016-09-07 15:48:23 +00:00
|
|
|
repository = "https://github.com/dtolnay/syn"
|
2018-01-07 23:22:01 +00:00
|
|
|
documentation = "https://docs.rs/syn"
|
2017-02-10 02:27:32 +00:00
|
|
|
categories = ["development-tools::procedural-macro-helpers"]
|
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
|
|
|
|
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-01-03 08:22:08 +00:00
|
|
|
default = ["derive", "parsing", "printing", "clone-impls"]
|
|
|
|
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 = []
|
2016-09-04 18:26:41 +00:00
|
|
|
|
2016-09-03 18:33:15 +00:00
|
|
|
[dependencies]
|
2018-01-08 16:22:31 +00:00
|
|
|
quote = { version = "0.4", optional = true }
|
|
|
|
proc-macro2 = "0.2"
|
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]
|
2017-11-19 22:24:38 +00:00
|
|
|
rayon = "0.9"
|
2016-10-31 03:19:51 +00:00
|
|
|
walkdir = "1.0.1"
|
2018-01-07 01:47:29 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|