[package] name = "raven-service" version = "0.1.0" description = "Raven Windows Service - Executa operacoes privilegiadas para o Raven Desktop" authors = ["Esdras Renan"] edition = "2021" [[bin]] name = "raven-service" path = "src/main.rs" [dependencies] # Windows Service windows-service = "0.7" # Async runtime tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "io-util", "net", "signal"] } # IPC via Named Pipes interprocess = { version = "2", features = ["tokio"] } # Serialization serde = { version = "1", features = ["derive"] } serde_json = "1" # Logging tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Windows Registry winreg = "0.55" # Error handling thiserror = "1.0" # HTTP client (para RustDesk) reqwest = { version = "0.12", features = ["json", "rustls-tls", "blocking"], default-features = false } # Date/time chrono = { version = "0.4", features = ["serde"] } # Crypto (para RustDesk ID) sha2 = "0.10" # UUID para request IDs uuid = { version = "1", features = ["v4"] } # Parking lot para locks parking_lot = "0.12" # Once cell para singletons once_cell = "1.19" [target.'cfg(windows)'.dependencies] windows = { version = "0.58", features = [ "Win32_Foundation", "Win32_Security", "Win32_System_Services", "Win32_System_Threading", "Win32_System_Pipes", "Win32_System_IO", "Win32_System_SystemServices", "Win32_Storage_FileSystem", ] } [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = true