forked from bisq-network/bisq-musig
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (54 loc) · 2.12 KB
/
Cargo.toml
File metadata and controls
57 lines (54 loc) · 2.12 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
48
49
50
51
52
53
54
55
56
57
[workspace]
resolver = "3"
members = ["protocol", "rpc", "wallet", "testenv", "bmp_tracing"]
exclude = ["poc"]
[workspace.dependencies]
anyhow = "1.0.101"
argon2 = { version = "0.5.3", default-features = false }
base64 = "0.22.1"
bdk_bitcoind_rpc = "0.22.0"
bdk_electrum = { version = "0.23.2", default-features = false, features = ["use-rustls-ring"] }
bdk_kyoto = "0.15.4"
# v2.2.0 deprecates `bdk_wallet::wallet::signer` without making it clear what alternative to use & how:
bdk_wallet = { version = "~2.1.0", features = ["rusqlite", "keys-bip39"] }
const_format = "0.2.35"
hex = "0.4.3"
musig2 = { version = "0.3.1", features = ["rand"] }
rand = "0.9.2"
rand_chacha = "0.9.0"
rusqlite = { version = "0.31.0", features = ["bundled-sqlcipher"] }
secp = "0.6.0"
simple-semaphore = "0.2.0"
tempfile = "3.25.0"
thiserror = "2.0.18"
tokio = "1.49.0"
tracing = "0.1.44"
tracing-core = {version = "0.1.35", default-features = false}
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
bmp_tracing = { path = "bmp_tracing" }
zeroize = "1.8.2"
[workspace.lints.rust]
rust-2024-compatibility = "warn"
# Most of the time, changing drop order is harmless ('rust-2024-compatibility' lint):
tail_expr_drop_order = { level = "allow", priority = 1 }
[workspace.lints.clippy]
pedantic = "warn"
# Enable selected 'nursery' and 'restriction' lints...
allow_attributes = "warn"
branches_sharing_code = "warn"
exhaustive_enums = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
missing_const_for_fn = "warn"
renamed_function_params = "warn"
significant_drop_tightening = "warn"
str_to_string = "warn"
try_err = "warn"
unused_trait_names = "warn"
use_self = "warn"
# Probably counterproductive to document errors of all publicly visible fns before the code has matured:
missing_errors_doc = { level = "allow", priority = 1 }
# Panics shall generally only result from bugs in callee code, so this gives too many false positives:
missing_panics_doc = { level = "allow", priority = 1 }
# Probably shouldn't annotate every (public) pure fn with '#[must_use]', so too many false positives:
must_use_candidate = { level = "allow", priority = 1 }