forked from dtolnay/syn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (36 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "syn"
version = "0.13.0" # don't forget to update html_root_url
authors = ["David Tolnay <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Nom parser for Rust source code"
repository = "https://github.com/dtolnay/syn"
documentation = "https://docs.rs/syn"
categories = ["development-tools::procedural-macro-helpers"]
readme = "README.md"
include = ["/Cargo.toml", "/src/**/*.rs", "/README.md", "/LICENSE-APACHE", "/LICENSE-MIT"]
[[example]]
name = "dump-syntax"
path = "examples/dump-syntax/main.rs"
required-features = ["full", "parsing", "extra-traits"]
[features]
default = ["derive", "parsing", "printing", "clone-impls", "proc-macro"]
derive = []
full = []
parsing = []
printing = ["quote"]
visit = []
visit-mut = []
fold = []
clone-impls = []
extra-traits = []
proc-macro = ["proc-macro2/proc-macro", "quote/proc-macro"]
[dependencies]
proc-macro2 = { version = "0.3", default-features = false }
quote = { version = "0.5", optional = true, default-features = false }
unicode-xid = "0.1"
[dev-dependencies]
rayon = "1.0.0"
walkdir = "2"
[package.metadata.docs.rs]
all-features = true