# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

[package]
name = "$FUZZ_CRATE_NAME$"
publish = false
edition.workspace = true

[dependencies]
$PARENT$.workspace = true
xtask_fuzz.workspace = true

arbitrary = { workspace = true, features = ["derive"] }

[target.'cfg(all(target_os = "linux", target_env = "gnu"))'.dependencies]
libfuzzer-sys.workspace = true

[package.metadata.xtask.unused-deps]
# required for the xtask_fuzz macro, but unused_deps doesn't know that
ignored = ["libfuzzer-sys"]

[package.metadata]
cargo-fuzz = true

[package.metadata.xtask.fuzz.onefuzz-allowlist]
$FUZZ_TARGET_NAME$ = ["**/*.rs", "../src/**/*.rs"]

[[bin]]
name = "$FUZZ_TARGET_NAME$"
path = "$FUZZ_TARGET_NAME$.rs"
test = false
doc = false
doctest = false

[lints]
workspace = true
