usdpl-rs/usdpl-back/Cargo.toml

38 lines
1 KiB
TOML
Raw Normal View History

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