2022-07-30 21:33:31 +01:00
|
|
|
[package]
|
2023-02-24 02:07:17 +00:00
|
|
|
name = "powertools"
|
2024-04-22 01:51:41 +01:00
|
|
|
version = "2.0.1"
|
2022-07-30 21:33:31 +01:00
|
|
|
edition = "2021"
|
2023-01-11 01:54:33 +00:00
|
|
|
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
|
|
|
|
description = "Backend (superuser) functionality for PowerTools"
|
|
|
|
license = "GPL-3.0-only"
|
2023-09-04 22:46:19 +01:00
|
|
|
repository = "https://git.ngni.us/NG-SD-Plugins/PowerTools"
|
2023-01-11 01:54:33 +00:00
|
|
|
keywords = ["utility", "power-management", "root", "decky"]
|
|
|
|
readme = "../README.md"
|
2022-07-30 21:33:31 +01:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-11-18 20:31:45 +00:00
|
|
|
usdpl-back = { version = "0.10.1", features = ["blocking", "decky"] }#, path = "../../usdpl-rs/usdpl-back"}
|
2022-07-30 21:33:31 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2023-11-18 20:17:56 +00:00
|
|
|
ron = "0.8"
|
2023-09-04 22:46:19 +01:00
|
|
|
sysfuss = { version = "0.2", features = ["derive"] }#,path = "../../sysfs-nav"}
|
2022-07-30 21:33:31 +01:00
|
|
|
|
2022-11-10 03:09:05 +00:00
|
|
|
# async
|
|
|
|
tokio = { version = "*", features = ["time"] }
|
|
|
|
async-trait = { version = "0.1" }
|
|
|
|
|
2022-07-30 21:33:31 +01:00
|
|
|
# logging
|
|
|
|
log = "0.4"
|
|
|
|
simplelog = "0.12"
|
2022-08-10 01:56:22 +01:00
|
|
|
|
2022-12-03 02:12:13 +00:00
|
|
|
# limits & driver functionality
|
2023-10-24 23:33:56 +01:00
|
|
|
limits_core = { version = "3", path = "./limits_core" }
|
2022-12-03 02:12:13 +00:00
|
|
|
regex = "1"
|
2024-02-03 02:04:10 +00:00
|
|
|
|
|
|
|
# steam deck libs
|
2024-04-01 15:04:02 +01:00
|
|
|
smokepatio = { version = "0.1", features = [ "std" ] }
|
2024-01-22 01:03:04 +00:00
|
|
|
libc = "0.2"
|
2024-02-03 02:04:10 +00:00
|
|
|
|
|
|
|
# online settings
|
|
|
|
community_settings_core = { version = "0.1", path = "./community_settings_core" }
|
|
|
|
chrono = { version = "0.4", features = [ "serde" ] }
|
|
|
|
|
|
|
|
# hardware enablement
|
2024-01-06 18:26:35 +00:00
|
|
|
#libryzenadj = { version = "0.14", path = "../../libryzenadj-rs-14" }
|
2024-04-01 15:04:02 +01:00
|
|
|
libryzenadj-alt = { version = "0.14" }
|
2024-02-03 02:04:10 +00:00
|
|
|
|
2022-12-03 02:12:13 +00:00
|
|
|
# ureq's tls feature does not like musl targets
|
2024-02-25 03:00:09 +00:00
|
|
|
ureq = { version = "2", features = ["json", "gzip", "brotli", "charset", "tls"], default-features = false, optional = true }
|
2022-12-03 02:12:13 +00:00
|
|
|
|
2024-02-02 02:02:59 +00:00
|
|
|
clap = { version = "4.4", features = [ "derive" ] }
|
2022-12-03 02:12:13 +00:00
|
|
|
|
2022-08-10 01:56:22 +01:00
|
|
|
[features]
|
2023-02-22 02:28:59 +00:00
|
|
|
default = ["online", "decky"]
|
2022-08-10 01:56:22 +01:00
|
|
|
decky = ["usdpl-back/decky"]
|
|
|
|
crankshaft = ["usdpl-back/crankshaft"]
|
|
|
|
encrypt = ["usdpl-back/encrypt"]
|
2022-12-03 02:12:13 +00:00
|
|
|
online = ["ureq"]
|
2023-12-17 21:13:59 +00:00
|
|
|
experimental = []
|
2023-02-20 17:04:44 +00:00
|
|
|
dev_stuff = []
|
2022-09-05 19:24:01 +01:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = false
|
|
|
|
strip = true
|
|
|
|
lto = true
|
2022-12-05 23:51:49 +00:00
|
|
|
codegen-units = 1
|
2024-02-03 01:26:43 +00:00
|
|
|
opt-level = 3
|
2022-12-05 23:51:49 +00:00
|
|
|
|
|
|
|
[profile.docker]
|
|
|
|
inherits = "release"
|
|
|
|
debug = false
|
|
|
|
strip = true
|
|
|
|
lto = "thin"
|
2024-02-03 01:26:43 +00:00
|
|
|
codegen-units = 8
|
2022-12-05 23:51:49 +00:00
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|