tonic-rest 0.1.5

Runtime types for REST + SSE endpoints generated from protobuf google.api.http annotations
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.85"
name = "tonic-rest"
version = "0.1.5"
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime types for REST + SSE endpoints generated from protobuf google.api.http annotations"
homepage = "https://github.com/zs-dima/tonic-rest"
documentation = "https://docs.rs/tonic-rest"
readme = "README.md"
keywords = [
    "grpc",
    "rest",
    "protobuf",
    "tonic",
    "axum",
]
categories = [
    "web-programming",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zs-dima/tonic-rest"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["serde"]
serde = [
    "dep:prost-types",
    "dep:chrono",
    "dep:serde",
]

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

[dependencies.axum]
version = "0.8"
features = [
    "json",
    "tokio",
    "query",
]
default-features = false

[dependencies.chrono]
version = "0.4"
features = ["std"]
optional = true
default-features = false

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

[dependencies.http]
version = "1"

[dependencies.prost-types]
version = "0.14"
optional = true

[dependencies.serde]
version = "1"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.tonic]
version = "0.14"

[dev-dependencies.futures]
version = "0.3"
features = ["alloc"]
default-features = false

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.prost-types]
version = "0.14"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[dev-dependencies.tonic]
version = "0.14"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "forbid"