2022-06-07 20:05:04 -04:00
|
|
|
[package]
|
|
|
|
name = "usdpl-back"
|
2023-02-13 21:35:30 -05:00
|
|
|
version = "0.10.0"
|
2022-06-07 20:05:04 -04:00
|
|
|
edition = "2021"
|
2022-06-12 17:30:14 -04:00
|
|
|
license = "GPL-3.0-only"
|
|
|
|
repository = "https://github.com/NGnius/usdpl-rs"
|
2022-06-12 21:30:01 -04:00
|
|
|
readme = "README.md"
|
|
|
|
description = "Universal Steam Deck Plugin Library back-end"
|
2022-06-07 20:05:04 -04:00
|
|
|
|
2022-06-12 17:30:14 -04:00
|
|
|
[features]
|
2023-01-10 20:51:13 -05:00
|
|
|
default = ["blocking", "translate"]
|
2022-06-16 17:03:43 -04:00
|
|
|
decky = ["usdpl-core/decky"]
|
|
|
|
crankshaft = ["usdpl-core/crankshaft"]
|
2022-11-25 17:10:44 -05:00
|
|
|
blocking = ["tokio", "tokio/rt", "tokio/rt-multi-thread"] # synchronous API for async functionality, using tokio
|
2022-07-24 14:45:48 -04:00
|
|
|
encrypt = ["usdpl-core/encrypt", "obfstr", "hex"]
|
2023-01-10 20:51:13 -05:00
|
|
|
translate = ["usdpl-core/translate", "gettext-ng"]
|
2022-06-07 20:05:04 -04:00
|
|
|
|
|
|
|
[dependencies]
|
2023-02-13 21:35:30 -05:00
|
|
|
usdpl-core = { version = "0.10", path = "../usdpl-core"}
|
2022-06-15 16:46:13 -04:00
|
|
|
|
2022-09-12 20:45:42 -04:00
|
|
|
log = "0.4"
|
|
|
|
|
2022-06-15 16:46:13 -04:00
|
|
|
# HTTP web framework
|
|
|
|
warp = { version = "0.3" }
|
|
|
|
bytes = { version = "1.1" }
|
2022-11-25 17:10:44 -05:00
|
|
|
tokio = { version = "1", optional = true }
|
2022-07-24 14:45:48 -04:00
|
|
|
|
2022-09-12 20:45:42 -04:00
|
|
|
# this is why people don't like async
|
|
|
|
async-trait = "0.1.57"
|
|
|
|
async-recursion = "1.0.0"
|
|
|
|
|
2022-07-24 14:45:48 -04:00
|
|
|
# encryption helpers
|
|
|
|
obfstr = { version = "0.3", optional = true }
|
|
|
|
hex = { version = "0.4", optional = true }
|
2023-01-10 20:51:13 -05:00
|
|
|
|
|
|
|
# translations
|
|
|
|
gettext-ng = { version = "0.4.1", optional = true }
|