feat: Init of Tauri application with system tray support and configuration
- Added main.rs to set up the Tauri application with a system tray. - Implemented a basic application state management using Mutex. - Created a system tray menu with options for "Settings" and "Quit". - Configured tauri.conf.json with application metadata and window settings.
This commit is contained in:
32
src-tauri/Cargo.toml
Normal file
32
src-tauri/Cargo.toml
Normal file
@@ -0,0 +1,32 @@
|
||||
[package]
|
||||
name = "ai-translater-client"
|
||||
version = "0.1.0"
|
||||
description = "AI Typist Client"
|
||||
authors = ["Din Namn"]
|
||||
edition = "2021"
|
||||
rust-version = "1.77"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2.0", features = [] }
|
||||
|
||||
[dependencies]
|
||||
# Tauri Framework
|
||||
tauri = { version = "2.0", features = ["tray-icon", "image-png"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
# Async & Network
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
reqwest = { version = "0.12", features = ["json", "multipart"] }
|
||||
|
||||
# AI & LLM
|
||||
ollama-rs = "0.2"
|
||||
|
||||
# System Integration (Input/Clipboard/Hotkeys)
|
||||
enigo = "0.3" # För tangentbords-mimic
|
||||
arboard = "3.4" # Clipboard hantering
|
||||
global-hotkey = "0.6" # Systemomfattande genvägar
|
||||
|
||||
# Logging (Strongly recommended for debugging)
|
||||
log = "0.4"
|
||||
env_logger = "0.11"
|
||||
Reference in New Issue
Block a user