Code cleanup

This commit is contained in:
Luke
2020-04-29 14:08:22 +12:00
parent f818ffa191
commit 4e78a5dbdd
8 changed files with 385 additions and 442 deletions

View File

@@ -1,7 +1,12 @@
[package]
name = "rog-daemon"
version = "0.6.1"
version = "0.7.0"
license = "MPL-2.0"
readme = "README.md"
authors = ["Luke <luke@ljones.dev>"]
repository = "https://github.com/flukejones/rog-core"
homepage = "https://github.com/flukejones/rog-core"
description = "A daemon app for ASUS GX502 and similar laptops to control missing features"
edition = "2018"
[lib]
@@ -14,25 +19,47 @@ path = "src/main.rs"
[dependencies]
rusb = "^0.5.5"
# cli crate
# cli and logging
gumdrop = "^0.8.0"
log = "^0.4.8"
env_logger = "^0.7.1"
# async
dbus = { version = "^0.8.2", features = ["futures"] }
dbus-tokio = "^0.5.1"
tokio = { version = "0.2.4", features = ["rt-threaded", "macros"] }
# serialisation
serde = "1.0"
serde_derive = "1.0"
toml = "0.5"
# used for backlight control mostly
# sysfs-class = "^0.1.2"
# Device control
# sysfs-class = "^0.1.2" # used for backlight control mostly
# cpu power management
intel-pstate = { git = "https://github.com/flukejones/intel-pstate" }
#
aho-corasick = "^0.7.10"
thiserror = "^1.0.15"
# virtualisation of HID, mainly for outputting consumer key codes
uhid-virt = "^0.0.4"
#keycode = "0.3"
#
thiserror = "^1.0.15"
[profile.release]
lto = true
debug = false
opt-level = 3
panic = "abort"
[profile.dev]
lto = true
debug = false
opt-level = 3
#panic = "abort"
[profile.bench]
lto = true
debug = false
opt-level = 3
#panic = "abort"