projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make channel_target return as channelmanager removes on shutdown
[rust-lightning]
/
fuzz
/
Cargo.toml
diff --git
a/fuzz/Cargo.toml
b/fuzz/Cargo.toml
index 6b45066e80eaa48bcb42b66ca56329f94482a3a9..9b718badf3d6a2e422dd14c564c0b573c825ea01 100644
(file)
--- a/
fuzz/Cargo.toml
+++ b/
fuzz/Cargo.toml
@@
-3,6
+3,10
@@
name = "lightning-fuzz"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
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
[package.metadata]
cargo-fuzz = true
@@
-13,11
+17,15
@@
honggfuzz_fuzz = ["honggfuzz"]
[dependencies]
lightning = { path = "..", features = ["fuzztarget"] }
[dependencies]
lightning = { path = "..", features = ["fuzztarget"] }
-bitcoin = { version = "0.1
2
", features = ["fuzztarget"] }
+bitcoin = { version = "0.1
3
", features = ["fuzztarget"] }
secp256k1 = { version = "0.9", features = ["fuzztarget"] }
secp256k1 = { version = "0.9", features = ["fuzztarget"] }
+rust-crypto = "0.2"
honggfuzz = { version = "0.5", optional = true }
afl = { version = "0.3", optional = true }
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 = ["."]
# Prevent this from interfering with workspaces
[workspace]
members = ["."]