mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-09 06:52:53 -04:00
feat(swap): Use art_client
to dial over Tor (#196)
- Upgrade `sqlx` to `0.8` - Use `arti_client@0.24` in combination with [`libp2p-community-tor`](https://crates.io/crates/libp2p-community-tor/0.4.1). https://github.com/umgefahren/libp2p-tor/pull/18 was required for this. - Display spinner in GUI while Tor circuits are being established - Remove unused dependencies (`once_cell`, `tauri-plugin-devtools`, `digest`, `hyper`, `itertools`, `erased_serde`) - Bundle roboto font from npm registry
This commit is contained in:
parent
3aef92e848
commit
6cd228fada
41 changed files with 2689 additions and 871 deletions
|
@ -16,14 +16,12 @@ tauri-build = { version = "2.0", features = [ "config-json5" ] }
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
once_cell = "1"
|
||||
serde = { version = "1", features = [ "derive" ] }
|
||||
serde_json = "1"
|
||||
swap = { path = "../swap", features = [ "tauri" ] }
|
||||
sysinfo = "=0.32.0"
|
||||
tauri = { version = "2.0", features = [ "config-json5" ] }
|
||||
tauri-plugin-clipboard-manager = "2.0"
|
||||
tauri-plugin-devtools = "2.0"
|
||||
tauri-plugin-process = "2.0"
|
||||
tauri-plugin-shell = "2.0"
|
||||
tauri-plugin-store = "2.1.0"
|
||||
|
|
|
@ -299,6 +299,7 @@ async fn initialize_context(
|
|||
})
|
||||
.with_json(false)
|
||||
.with_debug(true)
|
||||
.with_tor(true)
|
||||
.with_tauri(tauri_handle.clone())
|
||||
.build()
|
||||
.await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue