2016-09-03 18:33:15 +00:00
|
|
|
[package]
|
2019-07-27 22:26:42 +00:00
|
|
|
name = "syn-next"
|
2019-08-12 03:54:34 +00:00
|
|
|
version = "1.0.0-rc4" # 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"
|
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"
|
2019-03-10 07:01:03 +00:00
|
|
|
include = [
|
2019-06-27 16:07:48 +00:00
|
|
|
"/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",
|
2019-06-27 16:07:48 +00:00
|
|
|
"/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
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "syn"
|
2016-09-03 18:33:15 +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 = []
|
2019-07-27 22:36:23 +00:00
|
|
|
printing = ["quote-next"]
|
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-07-27 22:36:23 +00:00
|
|
|
proc-macro = ["proc-macro2-next/proc-macro", "quote-next/proc-macro"]
|
2016-09-04 18:26:41 +00:00
|
|
|
|
2016-09-03 18:33:15 +00:00
|
|
|
[dependencies]
|
2019-08-11 05:24:23 +00:00
|
|
|
proc-macro2-next = { version = "1.0.0-rc3", default-features = false }
|
2019-08-11 03:38:16 +00:00
|
|
|
quote-next = { version = "1.0.0-rc3", 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-07-29 01:02:54 +00:00
|
|
|
insta = "0.9"
|
2018-05-21 02:40:49 +00:00
|
|
|
rayon = "1.0"
|
2019-05-08 21:54:12 +00:00
|
|
|
ref-cast = "0.2"
|
2018-08-24 18:47:15 +00:00
|
|
|
regex = "1.0"
|
2019-05-08 20:57:13 +00:00
|
|
|
termcolor = "1.0"
|
2018-05-21 02:40:49 +00:00
|
|
|
walkdir = "2.1"
|
2018-01-07 01:47:29 +00:00
|
|
|
|
2019-06-23 22:50:02 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "rust"
|
|
|
|
edition = "2018"
|
|
|
|
harness = false
|
|
|
|
required-features = ["full", "parsing"]
|
|
|
|
|
2019-06-24 01:06:42 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "file"
|
|
|
|
edition = "2018"
|
|
|
|
required-features = ["full", "parsing"]
|
|
|
|
|
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" }
|
2019-02-09 00:03:49 +00:00
|
|
|
|
|
|
|
[workspace]
|
2019-05-07 21:21:13 +00:00
|
|
|
members = ["dev", "json"]
|