# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "battery-savior" version = "0.1.0" description = "A utility helping you save your battery consumption" license = "MIT" repository = "https://github.com/waterlens/battery-savior/" resolver = "2" [profile.release] opt-level = "z" lto = "fat" codegen-units = 1 panic = "abort" strip = "symbols" [dependencies.env_logger] version = "0.9" [dependencies.log] version = "0.4" [dependencies.ntapi] version = "0.3.7" features = [ "impl-default", "user", ] [dependencies.regex] version = "1" [dependencies.serde] version = "1.0" features = ["serde_derive"] [dependencies.tokio] version = "1.20" features = ["full"] [dependencies.toml] version = "0.5" [dependencies.tray-item] version = "0.7" [dependencies.winapi] version = "0.3" features = ["winuser"] [dependencies.windows] version = "0.39.0" features = [ "Win32_Foundation", "Win32_System_Threading", "Win32_UI_WindowsAndMessaging", "Win32_System_ProcessStatus", "Win32_System_Console", ] [dependencies.wineventhook] version = "0.5.0" [dependencies.wintrap] version = "0.3" [build-dependencies.windres] version = "0.2.2"