Files
noq/fuzz/Cargo.toml
Rüdiger Klaehn feeafe40c9 Disable fuzz code unless fuzzing config is set (#309)
With this we no longer get compile errors in vscode because the fuzzing
code uses fns that are themselves gated with cfg(fuzzing).

We have to tell rust about the feature in Cargo.toml to avoid warnings.
2026-01-13 09:20:49 +00:00

40 lines
673 B
TOML

[package]
name = "fuzz"
version = "0.1.0"
publish = false
license = "MIT OR Apache-2.0"
edition = "2021"
[package.metadata]
cargo-fuzz = true
[dependencies]
arbitrary = { version = "1.0.1", features = ["derive"] }
libfuzzer-sys = "0.4.2"
[dependencies.proto]
features = ["arbitrary"]
path = "../quinn-proto"
package = "iroh-quinn-proto"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fuzzing)"] }
[[bin]]
name = "streams"
path = "fuzz_targets/streams.rs"
test = false
doc = false
[[bin]]
name = "streamid"
path = "fuzz_targets/streamid.rs"
test = false
doc = false
[[bin]]
name = "packet"
path = "fuzz_targets/packet.rs"
test = false
doc = false