2024-08-27 18:08:03 +00:00
|
|
|
[package]
|
|
|
|
name = "razer-battery-report"
|
2024-09-14 19:10:47 +00:00
|
|
|
version = "0.2.3"
|
2024-08-27 18:08:03 +00:00
|
|
|
authors = ["xzeldon <contact@zeldon.ru>"]
|
|
|
|
edition = "2021"
|
|
|
|
description = "Razer Battery Level Tray Indicator"
|
|
|
|
|
|
|
|
# Slower builds, faster executables
|
|
|
|
[profile.release]
|
|
|
|
lto = "fat"
|
|
|
|
codegen-units = 1
|
|
|
|
opt-level = 3
|
|
|
|
|
2024-09-12 22:34:05 +00:00
|
|
|
# Faster builds, slower executables
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 0
|
|
|
|
lto = false
|
|
|
|
incremental = true
|
|
|
|
codegen-units = 16
|
|
|
|
|
2024-08-27 18:08:03 +00:00
|
|
|
[dependencies]
|
|
|
|
# Communicate with HID devices
|
|
|
|
hidapi = "2.6.3"
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
log = "0.4.22"
|
|
|
|
pretty_env_logger = "0.5.0"
|
2024-09-03 22:46:04 +00:00
|
|
|
|
|
|
|
# Event Loop and Tray Icon
|
|
|
|
tao = "0.30.0"
|
|
|
|
tray-icon = "0.17.0"
|
|
|
|
|
|
|
|
# Image manipulation
|
|
|
|
image = "0.25.2"
|
2024-09-05 22:55:10 +00:00
|
|
|
|
|
|
|
# Windows API
|
|
|
|
winapi = { version = "0.3.9", features = ["winuser", "wincon", "consoleapi"] }
|
2024-09-09 21:16:21 +00:00
|
|
|
|
|
|
|
# Efficient synchronization primitives (e.g. Mutex, RwLock and etc.)
|
|
|
|
parking_lot = "0.12"
|