Check if msg.script.is_witness_program() before checking version
[rust-lightning] / lightning-invoice / fuzz / Cargo.toml
index 68a0d4e0a3398c9a7c7a5c08e35307f40f7f9b2c..746fe63ba03d0d38e983212fa01f37a4a6d07551 100644 (file)
@@ -3,6 +3,7 @@ name = "lightning-invoice-fuzz"
 version = "0.0.1"
 authors = ["Automatically generated"]
 publish = false
+edition = "2021"
 
 [package.metadata]
 cargo-fuzz = true
@@ -12,10 +13,11 @@ afl_fuzz = ["afl"]
 honggfuzz_fuzz = ["honggfuzz"]
 
 [dependencies]
-honggfuzz = { version = "0.5", optional = true }
+honggfuzz = { version = "0.5", optional = true, default-features = false }
 afl = { version = "0.4", optional = true }
-lightning-invoice = { path = ".."}
-bech32 = "0.7"
+lightning-invoice = { path = ".." }
+lightning = { path = "../../lightning", features = ["regex"] }
+bech32 = "0.9.0"
 
 # Prevent this from interfering with workspaces
 [workspace]