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 = ["fuzztarget"] }
22 bitcoin = { version = "0.27", features = ["fuzztarget", "secp-lowmemory"] }
24 honggfuzz = { version = "0.5", optional = true }
25 libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git", optional = true }
30 # Prevent this from interfering with workspaces
38 # When testing a large fuzz corpus, -O1 offers a nice speedup
43 name = "lightning_fuzz"
45 crate-type = ["rlib", "dylib", "staticlib"]