X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2FCargo.toml;h=9b718badf3d6a2e422dd14c564c0b573c825ea01;hb=cff3ae5f265f0eac4565dd378097904bf4add359;hp=6b45066e80eaa48bcb42b66ca56329f94482a3a9;hpb=511c5319f1b50438ed21e5c922c0c9ef0b258cac;p=rust-lightning diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 6b45066e..9b718bad 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -3,6 +3,10 @@ name = "lightning-fuzz" version = "0.0.1" authors = ["Automatically generated"] publish = false +# Because the function is unused it gets dropped before we link lightning, so +# we have to duplicate build.rs here. Note that this is only required for +# fuzztarget mode. +build = "../build.rs" [package.metadata] cargo-fuzz = true @@ -13,11 +17,15 @@ honggfuzz_fuzz = ["honggfuzz"] [dependencies] lightning = { path = "..", features = ["fuzztarget"] } -bitcoin = { version = "0.12", features = ["fuzztarget"] } +bitcoin = { version = "0.13", features = ["fuzztarget"] } secp256k1 = { version = "0.9", features = ["fuzztarget"] } +rust-crypto = "0.2" honggfuzz = { version = "0.5", optional = true } afl = { version = "0.3", optional = true } +[build-dependencies] +gcc = "0.3" + # Prevent this from interfering with workspaces [workspace] members = ["."]