[dependencies.http]
version = "1.3.1"
[dependencies.volo-grpc]
optional = true
version = "0.11.7"
[dependencies.volo-http]
optional = true
version = "0.4.3"
[dev-dependencies.anyhow]
version = "1.0.100"
[dev-dependencies.log]
version = "0.4.28"
[dev-dependencies.log_init]
version = "0.1.27"
[dev-dependencies.static_init]
version = "1.0.4"
[features]
default = []
volo-grpc = ["dep:volo-grpc"]
volo-http = ["dep:volo-http"]
[lib]
name = "rpc_adapter"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "English: RPC adapter for unified request handling / 中文: 统一请求处理的RPC适配器"
edition = "2024"
homepage = "https://github.com/i18n-site/rust/tree/dev/rpc_adapter"
keywords = ["rpc", "adapter", "http", "grpc", "rust"]
license = "MulanPSL-2.0"
name = "rpc_adapter"
readme = "README.md"
repository = "https://github.com/i18n-site/rust.git"
resolver = "2"
version = "0.1.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]