X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2FCargo.toml;h=573096efdfcfb3983fa94448c57453e9b21cdde4;hb=9af93001251af34502b838e6bccdcff82259a6cc;hp=a6d91781b219ce9f5fcd7553e52bb652b484b950;hpb=7bdbbca3b064be9eadfb716392e099f19878b927;p=rust-lightning diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a6d91781..573096ef 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -18,10 +18,10 @@ libfuzzer_fuzz = ["libfuzzer-sys"] stdin_fuzz = [] [dependencies] -lightning = { path = "../lightning", features = ["regex", "hashbrown"] } +lightning = { path = "../lightning", features = ["regex", "hashbrown", "_test_utils"] } lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" } -bitcoin = { version = "0.29.0", features = ["secp-lowmemory"] } -hex = "0.3" +bitcoin = { version = "0.30.2", features = ["secp-lowmemory"] } +hex = { package = "hex-conservative", version = "0.1.1", default-features = false } hashbrown = "0.8" afl = { version = "0.12", optional = true } @@ -38,6 +38,8 @@ members = ["."] [profile.release] lto = true codegen-units = 1 +debug-assertions = true +overflow-checks = true # When testing a large fuzz corpus, -O1 offers a nice speedup [profile.dev]