[package] name = "powertools" version = "2.0.0-alpha1" edition = "2021" authors = ["NGnius (Graham) "] description = "Backend (superuser) functionality for PowerTools" license = "GPL-3.0-only" repository = "https://git.ngni.us/NG-SD-Plugins/PowerTools" keywords = ["utility", "power-management", "root", "decky"] readme = "../README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] usdpl-back = { version = "0.10.1", features = ["blocking", "decky"] }#, path = "../../usdpl-rs/usdpl-back"} serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" ron = "0.8" sysfuss = { version = "0.2", features = ["derive"] }#,path = "../../sysfs-nav"} # async tokio = { version = "*", features = ["time"] } async-trait = { version = "0.1" } # logging log = "0.4" simplelog = "0.12" # limits & driver functionality limits_core = { version = "3", path = "./limits_core" } regex = "1" # steam deck libs smokepatio = { version = "0.1", features = [ "std" ], path = "../../smokepatio" } libc = "0.2" # online settings community_settings_core = { version = "0.1", path = "./community_settings_core" } chrono = { version = "0.4", features = [ "serde" ] } # hardware enablement #libryzenadj = { version = "0.14", path = "../../libryzenadj-rs-14" } libryzenadj = { version = "0.13" } # ureq's tls feature does not like musl targets ureq = { version = "2", features = ["json", "gzip", "brotli", "charset"], default-features = false, optional = true } clap = { version = "4.4", features = [ "derive" ] } [features] default = ["online", "decky"] decky = ["usdpl-back/decky"] crankshaft = ["usdpl-back/crankshaft"] encrypt = ["usdpl-back/encrypt"] online = ["ureq"] experimental = [] dev_stuff = [] [profile.release] debug = false strip = true lto = true codegen-units = 1 opt-level = 3 [profile.docker] inherits = "release" debug = false strip = true lto = "thin" codegen-units = 8 debug-assertions = false overflow-checks = false