mirror of
https://github.com/hoornet/vega.git
synced 2026-07-24 09:18:11 -07:00
7b7116fd58
Fixes a crash that blanked the Support (About/donate) view with React error #130 on every release build since v0.13.2. react-qr-code ships CommonJS, and since the Vite 8 / Rolldown migration its default import resolved to the module namespace object ({ QRCode, default }) instead of the component, making <QRCode/> an invalid element. AboutView now unwraps the import to the real component. Reproduced against the production bundle and verified fixed the same way. Also ships the configurable HTTP/SOCKS5 network proxy (incl. Tor) from PR #10 by Anderseta, merged earlier: routes relay WebSockets, Rust-side fetches and update checks through the proxy. The proxy settings and the README/CHANGELOG note that DNS is not yet guaranteed private (issue #11). Adds a Contributors section to the README (Anderseta, SondreB).
48 lines
1.8 KiB
TOML
48 lines
1.8 KiB
TOML
[package]
|
|
name = "vega"
|
|
version = "0.14.1"
|
|
description = "Cross-platform Nostr desktop client with Lightning integration"
|
|
authors = ["hoornet"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "vega_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["devtools", "tray-icon", "macos-proxy"] }
|
|
# Resolves the per-platform data/config roots before Tauri exists — the identifier
|
|
# migration must run before tauri::Builder, so it cannot use app.path().
|
|
dirs = "6"
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-updater = "2"
|
|
# The updater uses reqwest 0.13. Enabling its SOCKS feature here is unified with
|
|
# that transitive dependency, so updater checks and downloads accept socks5://.
|
|
reqwest = { version = "0.13", default-features = false, features = ["socks"] }
|
|
tauri-plugin-process = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
keyring = { version = "3", features = ["apple-native", "windows-native", "linux-native"] }
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
tauri-plugin-http = { version = "2.5.7", features = ["socks"] }
|
|
tauri-plugin-dialog = "2.7.0"
|
|
tauri-plugin-fs = "2.5.0"
|
|
tauri-plugin-notification = "2.3.3"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "net", "sync", "macros", "time"] }
|
|
tokio-tungstenite = "0.24"
|
|
secp256k1 = { version = "0.30", features = ["global-context"] }
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
futures-util = "0.3"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
webkit2gtk = "2.0"
|