# The fuzz targets (cargo-fuzz, nightly Rust): .gitea/workflows/fuzz.yml # runs them every night on cnx01. Each one only calls its body in # src/fuzzing.rs, which tests/fuzz_cases.rs replays on stable. # Locally (Linux): cp Cargo.lock fuzz/ && cargo +nightly fuzz run text [package] name = "visa-fuzz" version = "0.0.0" edition = "2024" publish = false [package.metadata] cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4" visa = { path = ".." } # its own workspace, so the app's cargo commands leave it alone [workspace] members = ["."] [[bin]] name = "text" path = "fuzz_targets/text.rs" test = false doc = false bench = false [[bin]] name = "upload" path = "fuzz_targets/upload.rs" test = false doc = false bench = false [[bin]] name = "signed_copy" path = "fuzz_targets/signed_copy.rs" test = false doc = false bench = false