mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
33 lines
870 B
TOML
33 lines
870 B
TOML
[package]
|
|
name = "syn"
|
|
version = "0.10.2" # don't forget to update version in readme
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
license = "MIT/Apache-2.0"
|
|
description = "Nom parser for Rust items"
|
|
repository = "https://github.com/dtolnay/syn"
|
|
documentation = "https://dtolnay.github.io/syn/syn/"
|
|
include = ["Cargo.toml", "src/**/*.rs"]
|
|
|
|
[features]
|
|
default = ["parsing", "printing"]
|
|
aster = []
|
|
expand = ["full", "parsing", "printing"]
|
|
full = []
|
|
parsing = ["unicode-xid"]
|
|
pretty = ["syntex_syntax"]
|
|
printing = ["quote"]
|
|
visit = []
|
|
|
|
[dependencies]
|
|
clippy = { version = "0.*", optional = true }
|
|
quote = { version = "0.3.0", optional = true }
|
|
syntex_syntax = { version = "0.47.0", optional = true }
|
|
unicode-xid = { version = "0.0.3", optional = true }
|
|
|
|
[dev-dependencies]
|
|
syntex_pos = "0.47.0"
|
|
syntex_syntax = "0.47.0"
|
|
tempdir = "0.3.5"
|
|
time = "0.1.35"
|
|
walkdir = "1.0.1"
|