PowerTools/backend/Cargo.toml

58 lines
1.5 KiB
TOML
Raw Normal View History

2022-07-30 21:33:31 +01:00
[package]
name = "powertools"
version = "1.4.0-alpha"
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"
sysfuss = { version = "0.1", path = "../../sysfs-nav", features = ["derive"] }
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 = "2", path = "./limits_core" }
regex = "1"
libryzenadj = { version = "0.12" }
# 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 }
[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