Update dependency on secp256k1 pointing to https://github.com/rust-bitcoin/rust-secp256k1
[rust-lightning] / fuzz / Cargo.toml
1 [package]
2 name = "lightning-fuzz"
3 version = "0.0.1"
4 authors = ["Automatically generated"]
5 publish = false
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
8 # fuzztarget mode.
9 build = "../build.rs"
10
11 [package.metadata]
12 cargo-fuzz = true
13
14 [features]
15 afl_fuzz = ["afl"]
16 honggfuzz_fuzz = ["honggfuzz"]
17
18 [dependencies]
19 lightning = { path = "..", features = ["fuzztarget"] }
20 bitcoin = { version = "0.13", features = ["fuzztarget"] }
21 secp256k1 = { git = "https://github.com/rust-bitcoin/rust-secp256k1", branch = "master" , features=["fuzztarget"]}
22 rust-crypto = "0.2"
23 honggfuzz = { version = "0.5", optional = true }
24 afl = { version = "0.3", optional = true }
25
26 [build-dependencies]
27 gcc = "0.3"
28
29 # Prevent this from interfering with workspaces
30 [workspace]
31 members = ["."]
32
33 [[bin]]
34 name = "peer_crypt_target"
35 path = "fuzz_targets/peer_crypt_target.rs"
36
37 [[bin]]
38 name = "channel_target"
39 path = "fuzz_targets/channel_target.rs"
40
41 [[bin]]
42 name = "full_stack_target"
43 path = "fuzz_targets/full_stack_target.rs"