synor/apps/desktop-wallet/src-tauri/Cargo.toml
Gulshan Yadav ce5c996b35 feat(desktop-wallet): add system tray and auto-updater
- Add system tray with menu: Show, Hide, Lock, Check Updates, Quit
- Integrate tauri-plugin-updater for seamless auto-updates
- Add UpdateBanner component for update notifications
- Add useAutoUpdater hook for update state management
- Add useTrayEvents hook for tray event handling
- Add Updates section to Settings page for manual update checks
- Configure updater endpoints in tauri.conf.json
- Exclude desktop-wallet from Cargo workspace (uses own Tauri deps)
2026-01-10 06:55:44 +05:30

55 lines
1.4 KiB
TOML

[package]
name = "synor-wallet"
version = "0.1.0"
description = "Secure Synor blockchain wallet with post-quantum cryptography"
authors = ["Synor Team"]
edition = "2021"
license = "MIT"
[lib]
name = "synor_wallet_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["tray-icon"] }
tauri-plugin-fs = "2"
tauri-plugin-store = "2"
tauri-plugin-shell = "2"
tauri-plugin-dialog = "2"
tauri-plugin-clipboard-manager = "2"
tauri-plugin-updater = "2"
tauri-plugin-notification = "2"
tauri-plugin-process = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
thiserror = "1"
# Cryptography
bip39 = "2"
argon2 = "0.5"
chacha20poly1305 = "0.10"
rand = "0.8"
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
zeroize = { version = "1", features = ["derive"] }
bech32 = "0.11"
# Local crates from the monorepo (optional - for direct integration with core)
synor-crypto = { path = "../../../crates/synor-crypto", optional = true }
synor-types = { path = "../../../crates/synor-types", optional = true }
synor-rpc = { path = "../../../crates/synor-rpc", optional = true }
[features]
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]
[profile.release]
lto = true
opt-level = "z"
codegen-units = 1
strip = true