blob: e5727d9082a76153ff76f11930c20f0438c32fb3 [file]
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[package]
name = "cargo-fuzztest"
version = "0.1.0"
edition = "2024"
[dependencies]
anyhow.workspace = true
clap.workspace = true
fuzztest-options = { path = "../options" }
serde.workspace = true
serde_json.workspace = true
[dev-dependencies]
googletest.workspace = true
fuzztest = { path = ".." }
# Compiled as a [[test]] target so Cargo builds it with the test harness enabled
# (`rustc --test`) and exposes `CARGO_BIN_EXE_dummy_fuzz_test_bin` to `runner_test`.
[[test]]
name = "dummy_fuzz_test_bin"
path = "test_crates/dummy_fuzz_crate/src/lib.rs"
[[test]]
name = "runner_test"
path = "tests/runner_test.rs"