1[package] 2name = "proc-macro2-fuzz" 3version = "0.0.0" 4authors = ["David Tolnay <dtolnay@gmail.com>"] 5edition = "2021" 6publish = false 7 8[package.metadata] 9cargo-fuzz = true 10 11[dependencies] 12afl = { version = "0.15", optional = true } 13honggfuzz = { version = "0.5", optional = true } 14libfuzzer-sys = { version = "0.4.7", optional = true } 15proc-macro2 = { path = "..", default-features = false } 16 17[features] 18default = ["libfuzzer"] 19afl = ["dep:afl"] 20honggfuzz = ["dep:honggfuzz"] 21libfuzzer = ["dep:libfuzzer-sys"] 22span-locations = ["proc-macro2/span-locations"] 23 24[[bin]] 25name = "parse_token_stream" 26path = "fuzz_targets/parse_token_stream.rs" 27test = false 28doc = false 29 30[workspace] 31