PowerTools/backend/Cargo.toml

57 lines
1.4 KiB
TOML
Raw Normal View History

2022-07-30 21:33:31 +01:00
[package]
name = "powertools"
2023-04-03 03:47:59 +01:00
version = "1.3.1"
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://github.com/NGnius/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]
usdpl-back = { version = "0.10.1", features = ["blocking"] }#, path = "../../usdpl-rs/usdpl-back"}
2022-07-30 21:33:31 +01:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# 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
2023-03-31 23:16:20 +01:00
limits_core = { version = "1.0.0", path = "./limits_core" }
regex = "1"
libryzenadj = { version = "0.12" }
# ureq's tls feature does not like musl targets
ureq = { version = "2.5", features = ["json", "gzip", "brotli", "charset"], default-features = false, optional = true }
[features]
default = ["online", "decky"]
decky = ["usdpl-back/decky"]
crankshaft = ["usdpl-back/crankshaft"]
encrypt = ["usdpl-back/encrypt"]
online = ["ureq"]
dev_stuff = []
[profile.release]
debug = false
strip = true
lto = true
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