[package]
edition = "2021"
name = "sova-grpc"
version = "0.1.2"
authors = ["Pavel Kuzmin <Virus191288@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Connect-JSON unary RPC client (+ optional server) for Sova"
homepage = "https://s00d.github.io/sova/"
documentation = "https://docs.rs/sova-grpc"
readme = "README.md"
keywords = [
"http",
"web",
"framework",
"async",
"grpc",
]
categories = [
"web-programming::http-server",
"network-programming",
]
license = "MIT"
repository = "https://github.com/s00d/sova"
[features]
client = ["dep:reqwest"]
default = ["client"]
[lib]
name = "sova_grpc"
path = "src/lib.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[dependencies.bytes]
version = "1"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"server",
"http1",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"json",
"rustls-tls",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
[dependencies.sova-core]
version = "0.1.15"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"sync",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sova-core]
version = "0.1.15"
features = ["testing"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]