grpc 0.9.0

The official Rust implementation of gRPC: a high performance, open source, universal RPC framework.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "grpc"
version = "0.9.0"
authors = ["gRPC Authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
The official Rust implementation of gRPC: a high performance, open source, universal RPC framework.
"""
homepage = "https://grpc.io"
readme = "README.md"
keywords = [
    "rpc",
    "grpc",
    "async",
    "protobuf",
    "proto",
]
categories = [
    "web-programming",
    "network-programming",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/grpc/grpc-rust"
resolver = "2"

[package.metadata.cargo_check_external_types]
allowed_external_types = [
    "bytes::*",
    "tonic::*",
    "futures_core::stream::Stream",
    "tokio::sync::oneshot::*",
]

[features]
_runtime-tokio = [
    "tokio/rt",
    "tokio/net",
    "tokio/time",
    "dep:socket2",
    "dep:tower",
    "dep:futures",
]
default = [
    "dns",
    "_runtime-tokio",
    "tls-rustls",
]
dns = [
    "dep:hickory-resolver",
    "_runtime-tokio",
]
tls-rustls = [
    "dep:rustls",
    "dep:rustls-pemfile",
    "dep:rustls-pki-types",
    "dep:tokio-rustls",
    "dep:rustls-platform-verifier",
    "dep:rustls-webpki",
]
tower = ["_runtime-tokio"]

[lib]
name = "grpc"
path = "src/lib.rs"

[[bench]]
name = "metadata"
path = "benches/metadata.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.10.1"

[dependencies.futures]
version = "0.3"
optional = true
default-features = false

[dependencies.hickory-resolver]
version = "0.25.1"
optional = true

[dependencies.http]
version = "1.1.0"

[dependencies.http-body]
version = "1.0.1"

[dependencies.hyper]
version = "1.6.0"
features = [
    "client",
    "http2",
]

[dependencies.itoa]
version = "1.0"

[dependencies.parking_lot]
version = "0.12.4"

[dependencies.pin-project-lite]
version = "0.2.16"

[dependencies.rand]
version = "0.9"

[dependencies.rustls]
version = "0.23"
features = [
    "tls12",
    "logging",
    "std",
]
optional = true
default-features = false

[dependencies.rustls-pemfile]
version = "2.1"
features = ["std"]
optional = true
default-features = false

[dependencies.rustls-pki-types]
version = "1.8"
optional = true
default-features = false

[dependencies.rustls-platform-verifier]
version = "0.6"
optional = true
default-features = false

[dependencies.rustls-webpki]
version = "0.102"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.socket2]
version = "0.6"
optional = true

[dependencies.tokio]
version = "1.37.0"
features = [
    "sync",
    "macros",
]

[dependencies.tokio-rustls]
version = "0.26"
optional = true
default-features = false

[dependencies.tokio-stream]
version = "0.1.17"
default-features = false

[dependencies.tonic]
version = "0.14.6"
features = ["codegen"]
default-features = false

[dependencies.tower]
version = "0.5.2"
features = [
    "limit",
    "util",
    "buffer",
]
optional = true

[dependencies.tower-service]
version = "0.3.3"

[dependencies.trait-variant]
version = "0.1.2"

[dependencies.url]
version = "2.5.0"

[dev-dependencies.async-stream]
version = "0.3.6"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hickory-server]
version = "0.25.2"

[dev-dependencies.prost]
version = "0.14.0"

[dev-dependencies.rustls]
version = "0.23"
features = ["ring"]
default-features = false

[dev-dependencies.tempfile]
version = "3.26"

[dev-dependencies.tonic]
version = "0.14.6"
features = [
    "server",
    "router",
    "tls-ring",
]
default-features = false

[dev-dependencies.tonic-prost]
version = "0.14.6"