[package]
edition = "2021"
rust-version = "1.75"
name = "tonic-web"
version = "0.14.3"
authors = ["Juan Alvarez <alce@me.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
grpc-web protocol translation for tonic services.
"""
homepage = "https://github.com/hyperium/tonic"
readme = "README.md"
keywords = [
"rpc",
"grpc",
"grpc-web",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/hyperium/tonic"
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"tonic::*",
"bytes::*",
"http::*",
"http_body::*",
"futures_core::stream::Stream",
"tower_layer::Layer",
"tower_service::Service",
]
[lib]
name = "tonic_web"
path = "src/lib.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.http]
version = "1"
[dependencies.http-body]
version = "1"
[dependencies.pin-project]
version = "1"
[dependencies.tokio-stream]
version = "0.1"
default-features = false
[dependencies.tonic]
version = "0.14.0"
default-features = false
[dependencies.tower-layer]
version = "0.3"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[dev-dependencies.tower-http]
version = "0.6"
features = ["cors"]
[lints.clippy]
uninlined_format_args = "deny"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
rust_2018_idioms = "warn"
unreachable_pub = "warn"
[lints.rustdoc]
broken_intra_doc_links = "deny"