-
Notifications
You must be signed in to change notification settings - Fork 456
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (41 loc) · 1.28 KB
/
Cargo.toml
File metadata and controls
47 lines (41 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "lightning-fuzz"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
edition = "2021"
[dependencies]
lightning = { path = "../lightning", features = ["regex", "_test_utils"] }
lightning-invoice = { path = "../lightning-invoice" }
lightning-liquidity = { path = "../lightning-liquidity" }
lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" }
lightning-persister = { path = "../lightning-persister", features = ["tokio"]}
bech32 = "0.11.0"
bitcoin = { version = "0.32.4", features = ["secp-lowmemory"] }
tokio = { version = "~1.35", default-features = false, features = ["rt-multi-thread"] }
# Prevent this from interfering with workspaces
[workspace]
members = [".", "fuzz-fake-hashes", "fuzz-real-hashes", "write-seeds"]
[profile.release]
panic = "abort"
lto = true
codegen-units = 1
debug-assertions = true
overflow-checks = true
# When testing a large fuzz corpus, -O1 offers a nice speedup
[profile.dev]
panic = "abort"
opt-level = 1
[lib]
name = "lightning_fuzz"
path = "src/lib.rs"
crate-type = ["rlib", "staticlib"]
[lints.rust.unexpected_cfgs]
level = "forbid"
# When adding a new cfg attribute, ensure that it is added to this list.
check-cfg = [
"cfg(fuzzing)",
"cfg(secp256k1_fuzz)",
"cfg(hashes_fuzz)",
"cfg(splicing)",
]