2022-07-30 21:33:31 +01:00
|
|
|
[package]
|
2023-02-24 02:07:17 +00:00
|
|
|
name = "powertools"
|
2023-09-04 22:46:19 +01:00
|
|
|
version = "1.5.0-ng1"
|
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"
|
2023-03-23 02:15:36 +00:00
|
|
|
libryzenadj = { version = "0.12" }
|
2023-12-17 21:13:59 +00:00
|
|
|
sd_led = { version = "*", path = "./sd_led" }
|
2022-12-03 02:12:13 +00:00
|
|
|
# ureq's tls feature does not like musl targets
|
2023-07-04 03:00:18 +01:00
|
|
|
ureq = { version = "2", features = ["json", "gzip", "brotli", "charset"], default-features = false, optional = true }
|
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
|
|
|
|
|
|
|
|
[profile.docker]
|
|
|
|
inherits = "release"
|
|
|
|
debug = false
|
|
|
|
strip = true
|
|
|
|
lto = "thin"
|
|
|
|
codegen-units = 16
|
|
|
|
opt-level = 2
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|