mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-23 16:00:10 +00:00
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "syn"
|
|
version = "0.11.11" # 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://dtolnay.github.io/syn/syn/"
|
|
categories = ["development-tools::procedural-macro-helpers"]
|
|
include = ["/Cargo.toml", "/src/**/*.rs", "/README.md", "/LICENSE-APACHE", "/LICENSE-MIT"]
|
|
publish = false # this branch contains breaking changes
|
|
|
|
[[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 = { git = "https://github.com/dtolnay/quote", optional = true }
|
|
proc-macro2 = "0.1"
|
|
unicode-xid = "0.1"
|
|
|
|
[dev-dependencies]
|
|
rayon = "0.9"
|
|
walkdir = "1.0.1"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|