mirror of
https://github.com/openharmony/third_party_rust_syn.git
synced 2026-07-01 20:44:18 -04:00
24b56b7a55
Signed-off-by: 徐未来 <xuweilai2@huawei.com>
32 lines
576 B
TOML
32 lines
576 B
TOML
[package]
|
|
name = "syn-fuzz"
|
|
version = "0.0.0"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
libfuzzer-sys = "0.4"
|
|
proc-macro2 = "1.0.52"
|
|
syn = { path = "..", default-features = false, features = ["full", "parsing"] }
|
|
|
|
[features]
|
|
span-locations = ["proc-macro2/span-locations"]
|
|
|
|
[[bin]]
|
|
name = "create_token_buffer"
|
|
path = "fuzz_targets/create_token_buffer.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "parse_file"
|
|
path = "fuzz_targets/parse_file.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[workspace]
|