Files
imager/src-tauri/Cargo.toml
SuperKali 8e99d25c8d feat: add settings panel with theme, language, and developer options
Implement comprehensive settings modal with:
- Theme switching (light/dark/auto) with system preference detection
- Language selection for 17 languages with native name sorting
- Developer mode with detailed logging and log viewer
- About section with app info and external links
- Update notification improvements with reduced log spam

Technical improvements:
- Added ThemeContext with persistent state management
- Implemented memory-safe log file reading (5MB limit)
- Fixed all ESLint, TypeScript, and Clippy warnings
- Added JSDoc documentation for public APIs
- Updated README.md and DEVELOPMENT.md with new features
2025-12-30 09:59:24 +01:00

67 lines
1.7 KiB
TOML

[package]
name = "armbian-imager"
version = "1.0.0"
description = "Armbian Imager - Flash Armbian OS images to SD cards and USB drives"
authors = ["Armbian", "SuperKali <hello@superkali.me>"]
edition = "2021"
rust-version = "1.77.2"
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["protocol-asset", "macos-private-api"] }
tauri-plugin-shell = "2"
tauri-plugin-dialog = "2"
tauri-plugin-updater = "2"
tauri-plugin-process = "2"
tauri-plugin-store = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
futures-util = "0.3"
# Multi-threaded decompression libraries
lzma-rust2 = { version = "0.15", features = ["xz", "std"] }
bzip2 = "0.4"
flate2 = "1.0"
zstd = "0.13"
sha2 = "0.10"
hex = "0.4"
dirs = "5"
once_cell = "1.21.3"
chrono = "0.4"
sys-locale = "0.3"
[target.'cfg(target_os = "linux")'.dependencies]
# Linux-specific dependencies for block device access
libc = "0.2"
# UDisks2 for privilege escalation via polkit
udisks2 = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
# macOS-specific dependencies
libc = "0.2"
security-framework = "2.11"
security-framework-sys = "2.11"
[target.'cfg(target_os = "windows")'.dependencies]
# Windows-specific dependencies
windows-sys = { version = "0.61.2", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_Ioctl",
"Win32_System_IO"
] }
[features]
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"
strip = true