# Placeholder Cargo.toml — actual configuration is finalized in Phase 1 (Bootstrap). # See AGENTS.md §44 (dependency rationale) and §42 (release profile) for guidance. # # Until Phase 1 lands: # - No [[bin]] / src/main.rs is declared yet, so `cargo build` is a no-op. # - The dependency list below is a copy of the AGENTS.md template; # versions will be verified against the locked Rust toolchain in Phase 1. # - No Cargo.lock will be committed until a real build exists. [package] name = "windows-gotify-client-rust" version = "0.1.0" edition = "2021" rust-version = "1.75" description = "Lightweight, modern, Windows-native Gotify desktop client (Rust + Slint)" license = "MIT" readme = "README.md" authors = ["KennethCheng "] [dependencies] # --- UI --- slint = "1.17" # --- Serialization --- serde = { version = "1", features = ["derive"] } serde_json = "1" # --- Networking (blocking HTTP + plain WebSocket, no full async runtime yet) --- reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"] } tungstenite = "0.21" url = "2" # --- Logging --- tracing = "0.1" tracing-subscriber = "0.3" # --- Error handling --- anyhow = "1" thiserror = "2" # Windows-only focused crates are added on demand in Phase 6 (Windows Integration). # Do not import the umbrella `windows` crate wholesale — see AGENTS.md §1. [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [profile.release-balanced] inherits = "release" opt-level = 3