2022-06-08 01:05:04 +01:00
|
|
|
[package]
|
|
|
|
name = "usdpl-back"
|
2024-04-03 01:52:42 +01:00
|
|
|
version = "1.0.0"
|
2022-06-08 01:05:04 +01:00
|
|
|
edition = "2021"
|
2023-09-03 22:33:30 +01:00
|
|
|
authors = ["NGnius <ngniusness@gmail.com>"]
|
2022-06-12 22:30:14 +01:00
|
|
|
license = "GPL-3.0-only"
|
2023-09-03 22:33:30 +01:00
|
|
|
repository = "https://git.ngni.us/NG-SD-Plugins/usdpl-rs"
|
2023-04-17 03:57:12 +01:00
|
|
|
readme = "../README.md"
|
2022-06-13 02:30:01 +01:00
|
|
|
description = "Universal Steam Deck Plugin Library back-end"
|
2022-06-08 01:05:04 +01:00
|
|
|
|
2022-06-12 22:30:14 +01:00
|
|
|
[features]
|
2023-04-17 03:57:12 +01:00
|
|
|
default = ["blocking"]
|
2022-06-16 22:03:43 +01:00
|
|
|
decky = ["usdpl-core/decky"]
|
2024-10-24 03:35:20 +01:00
|
|
|
any = []
|
2023-04-24 04:03:10 +01:00
|
|
|
blocking = [] # synchronous API for async functionality, using tokio
|
2022-06-08 01:05:04 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2024-04-03 01:52:42 +01:00
|
|
|
usdpl-core = { version = "1.0", path = "../usdpl-core"}
|
2022-06-15 21:46:13 +01:00
|
|
|
|
2022-09-13 01:45:42 +01:00
|
|
|
log = "0.4"
|
|
|
|
|
2023-04-17 03:57:12 +01:00
|
|
|
# gRPC/protobuf
|
2024-04-03 01:52:42 +01:00
|
|
|
nrpc = { version = "1.0", path = "../../nRPC/nrpc", default-features = false, features = [ "server-send", "async-trait" ] }
|
2023-04-24 04:03:10 +01:00
|
|
|
async-lock = "2.7"
|
2023-04-30 20:28:59 +01:00
|
|
|
prost = "0.11"
|
2023-04-24 04:03:10 +01:00
|
|
|
|
|
|
|
# websocket framework
|
2023-08-30 00:49:17 +01:00
|
|
|
ratchet_rs = { version = "0.4", features = [ "deflate" ] }
|
2023-04-17 03:57:12 +01:00
|
|
|
|
2022-06-15 21:46:13 +01:00
|
|
|
# HTTP web framework
|
|
|
|
bytes = { version = "1.1" }
|
2023-04-24 04:03:10 +01:00
|
|
|
tokio = { version = "1", features = [ "full" ]}
|
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"
|
|
|
|
|
2023-01-11 01:51:13 +00:00
|
|
|
# translations
|
2023-04-17 03:57:12 +01:00
|
|
|
gettext-ng = { version = "0.4.1" }
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-04-03 01:52:42 +01:00
|
|
|
usdpl-build = { version = "1.0", path = "../usdpl-build", features = [ "object-safe" ] }
|