forked from eigenwallet/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
113 lines (98 loc) · 3.76 KB
/
Cargo.toml
File metadata and controls
113 lines (98 loc) · 3.76 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[workspace]
resolver = "2"
members = [
"bitcoin-wallet",
"electrum-pool",
"libp2p-rendezvous-node",
"libp2p-tor",
"monero-rpc",
"monero-rpc-pool",
"monero-sys",
"monero-tests",
"src-tauri",
"swap",
"swap-asb",
"swap-controller",
"swap-controller-api",
"swap-core",
"swap-db",
"swap-env",
"swap-feed",
"swap-fs",
"swap-machine",
"swap-orchestrator",
"swap-p2p",
"swap-proptest",
"swap-serde",
"throttle",
]
[workspace.dependencies]
# Bitcoin Dev Kit
bdk = "0.28"
bdk_chain = "0.23.0"
bdk_core = "0.6.0"
bdk_electrum = { version = "0.23.0", default-features = false }
bdk_wallet = "2.0.0"
bitcoin = { version = "0.32", features = ["rand", "serde"] }
# Cryptography
curve25519-dalek = { version = "4", package = "curve25519-dalek-ng" }
ecdsa_fun = { version = "0.10", default-features = false, features = ["libsecp_compat", "serde", "adaptor"] }
rand = "0.8"
# Randomness
rand_chacha = "0.3"
sha2 = "0.10"
sigma_fun = { version = "0.7", default-features = false }
# Async
async-trait = "0.1"
# Serialization
serde_cbor = "0.11"
strum = { version = "0.26" }
anyhow = "1"
backoff = { version = "0.4", features = ["futures", "tokio"] }
bmrng = "0.5.2"
futures = { version = "0.3", default-features = false, features = ["std"] }
hex = "0.4"
jsonrpsee = { version = "0.25", default-features = false }
libp2p = { version = "0.53.2" }
monero = { version = "0.12", features = ["serde_support"] }
once_cell = "1.19"
reqwest = { version = "0.12", default-features = false, features = ["json"] }
rust_decimal = { version = "1", features = ["serde-float"] }
rust_decimal_macros = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
thiserror = "1"
toml = "0.9.5"
tracing = { version = "0.1", features = ["attributes"] }
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "ansi", "env-filter", "time", "tracing-log", "json"] }
typeshare = "1.0"
url = { version = "2", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
# Tokio
tokio = { version = "1", features = ["rt-multi-thread", "time", "macros", "sync"] }
tokio-util = { version = "0.7", features = ["io", "codec", "rt"] }
# Tor/Arti crates
arti-client = { git = "https://github.com/eigenwallet/arti", rev = "537dd8755817aa2b21c41e66edbd5f05f3c04373", default-features = false }
safelog = { git = "https://github.com/eigenwallet/arti", rev = "537dd8755817aa2b21c41e66edbd5f05f3c04373" }
tor-cell = { git = "https://github.com/eigenwallet/arti", rev = "537dd8755817aa2b21c41e66edbd5f05f3c04373" }
tor-hsservice = { git = "https://github.com/eigenwallet/arti", rev = "537dd8755817aa2b21c41e66edbd5f05f3c04373" }
tor-proto = { git = "https://github.com/eigenwallet/arti", rev = "537dd8755817aa2b21c41e66edbd5f05f3c04373" }
tor-rtcompat = { git = "https://github.com/eigenwallet/arti", rev = "537dd8755817aa2b21c41e66edbd5f05f3c04373" }
# Terminal Utilities
dialoguer = "0.11"
# Our dependencies in other git repositories
dfx-swiss-sdk = { git = "https://github.com/eigenwallet/dfx-swiss-rs" }
# Build dependencies
vergen = { version = "8.3", default-features = false, features = ["build", "git", "git2"] }
vergen-git2 = { version = "1", features = ["build"] }
[patch.crates-io]
# patch until new release https://github.com/thomaseizinger/rust-jsonrpc-client/pull/51
jsonrpc_client = { git = "https://github.com/delta1/rust-jsonrpc-client.git", rev = "3b6081697cd616c952acb9c2f02d546357d35506" }
monero = { git = "https://github.com/comit-network/monero-rs", rev = "818f38b" }
# Force up to date version of crunchy that fixes linux->windows cross compilation
crunchy = { git = "https://github.com/eira-fransham/crunchy", rev = "ba7b86cea6ba89ccfc72ccb24cc4a4ac6d9c6272" }
[workspace.lints]
rust.unused_crate_dependencies = "warn"
[profile.release]
codegen-units = 1
lto = "fat"