mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
40 lines
991 B
TOML
40 lines
991 B
TOML
[package]
|
|
name = "syn"
|
|
version = "0.12.0" # don't forget to update version in readme for breaking changes
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
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"]
|
|
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"]
|
|
derive = []
|
|
full = []
|
|
parsing = []
|
|
printing = ["quote"]
|
|
visit = []
|
|
visit-mut = []
|
|
fold = []
|
|
clone-impls = []
|
|
extra-traits = []
|
|
|
|
[dependencies]
|
|
quote = { version = "0.4", optional = true }
|
|
proc-macro2 = "0.2"
|
|
unicode-xid = "0.1"
|
|
|
|
[dev-dependencies]
|
|
rayon = "0.9"
|
|
walkdir = "1.0.1"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|