usdpl-rs/usdpl-back/Cargo.toml

42 lines
1.1 KiB
TOML

[package]
name = "usdpl-back"
version = "1.0.0"
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"
description = "Universal Steam Deck Plugin Library back-end"
[features]
default = ["blocking"]
decky = ["usdpl-core/decky"]
any = []
blocking = [] # synchronous API for async functionality, using tokio
[dependencies]
usdpl-core = { version = "1.0", path = "../usdpl-core"}
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" ] }
# HTTP web framework
bytes = { version = "1.1" }
tokio = { version = "1", features = [ "full" ]}
# this is why people don't like async
async-trait = "0.1.57"
async-recursion = "1.0.0"
# translations
gettext-ng = { version = "0.4.1" }
[build-dependencies]
usdpl-build = { version = "1.0", path = "../usdpl-build", features = [ "object-safe" ] }