usdpl-rs/usdpl-back/Cargo.toml

47 lines
1.2 KiB
TOML
Raw Permalink Normal View History

2022-06-08 01:05:04 +01:00
[package]
name = "usdpl-back"
version = "1.0.0"
2022-06-08 01:05:04 +01:00
edition = "2021"
authors = ["NGnius <ngniusness@gmail.com>"]
license = "GPL-3.0-only"
repository = "https://git.ngni.us/NG-SD-Plugins/usdpl-rs"
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
[features]
default = ["blocking"]
decky = ["usdpl-core/decky"]
blocking = [] # synchronous API for async functionality, using tokio
#encrypt = ["usdpl-core", "obfstr", "hex"]
2022-06-08 01:05:04 +01:00
[dependencies]
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"
# gRPC/protobuf
nrpc = { version = "1.0", path = "../../nRPC/nrpc", default-features = false, features = [ "server-send", "async-trait" ] }
async-lock = "2.7"
prost = "0.11"
# websocket framework
ratchet_rs = { version = "0.4", features = [ "deflate" ] }
2022-06-15 21:46:13 +01:00
# HTTP web framework
bytes = { version = "1.1" }
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"
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" }
[build-dependencies]
usdpl-build = { version = "1.0", path = "../usdpl-build", features = [ "object-safe" ] }