PowerTools/backend/Cargo.toml

74 lines
2 KiB
TOML
Raw Normal View History

2022-07-30 21:33:31 +01:00
[package]
name = "powertools"
version = "2.0.0-alpha5"
2022-07-30 21:33:31 +01:00
edition = "2021"
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
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"
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"
ron = "0.8"
sysfuss = { version = "0.2", features = ["derive"] }#,path = "../../sysfs-nav"}
2022-07-30 21:33:31 +01: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"
# limits & driver functionality
limits_core = { version = "3", path = "./limits_core" }
regex = "1"
2024-02-03 02:04:10 +00:00
# steam deck libs
smokepatio = { version = "0.1", features = [ "std" ], path = "../../smokepatio" }
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
#libryzenadj = { version = "0.14", path = "../../libryzenadj-rs-14" }
libryzenadj = { version = "0.13" }
2024-02-03 02:04:10 +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 }
2024-02-02 02:02:59 +00:00
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
2024-02-03 01:26:43 +00:00
opt-level = 3
[profile.docker]
inherits = "release"
debug = false
strip = true
lto = "thin"
2024-02-03 01:26:43 +00:00
codegen-units = 8
debug-assertions = false
overflow-checks = false