Files
vega/src-tauri/Cargo.toml
T
Jure 545dc3e2bb keychain: use Secret Service on Linux (persists in Flatpak sandbox)
linux-native (kernel keyutils) does not persist across Flatpak launches —
each sandbox gets a fresh session keyring. Switch Linux to sync-secret-service
(dbus-secret-service, pure Rust) so keys go to gnome-keyring/Secret Service,
which persists to disk and works in the sandbox via --talk-name=org.freedesktop.secrets.
Existing native users re-enter their key once (moves from kernel keyring to
the Secret Service). macOS/Windows backends unchanged.
2026-07-18 13:43:54 +02:00

48 lines
1.9 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", "sync-secret-service", "crypto-rust"] }
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"