2 name = "lightning-fuzz"
4 authors = ["Automatically generated"]
6 # Because the function is unused it gets dropped before we link lightning, so
7 # we have to duplicate build.rs here. Note that this is only required for
15 honggfuzz_fuzz = ["honggfuzz"]
16 libfuzzer_fuzz = ["libfuzzer-sys"]
20 afl = { version = "0.4", optional = true }
21 lightning = { path = "../lightning", features = ["regex"] }
22 lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" }
23 bitcoin = { version = "0.28.1", features = ["secp-lowmemory"] }
25 honggfuzz = { version = "0.5", optional = true }
26 libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git", optional = true }
31 # Prevent this from interfering with workspaces
39 # When testing a large fuzz corpus, -O1 offers a nice speedup
44 name = "lightning_fuzz"
46 crate-type = ["rlib", "dylib", "staticlib"]