2 name = "lightning-fuzz"
4 authors = ["Automatically generated"]
7 # Because the function is unused it gets dropped before we link lightning, so
8 # we have to duplicate build.rs here. Note that this is only required for
16 honggfuzz_fuzz = ["honggfuzz"]
17 libfuzzer_fuzz = ["libfuzzer-sys"]
21 lightning = { path = "../lightning", features = ["regex", "hashbrown", "_test_utils"] }
22 lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" }
23 bitcoin = { version = "0.29.0", features = ["secp-lowmemory"] }
27 afl = { version = "0.12", optional = true }
28 honggfuzz = { version = "0.5", optional = true, default-features = false }
29 libfuzzer-sys = { version = "0.4", optional = true }
34 # Prevent this from interfering with workspaces
41 debug-assertions = true
42 overflow-checks = true
44 # When testing a large fuzz corpus, -O1 offers a nice speedup
49 name = "lightning_fuzz"
51 crate-type = ["rlib", "dylib", "staticlib"]