tonic-rest-openapi 0.1.2

OpenAPI 3.1 spec generation and patching from protobuf descriptors for Tonic gRPC services
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 = "2021"
rust-version = "1.82"
name = "tonic-rest-openapi"
version = "0.1.2"
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAPI 3.1 spec generation and patching from protobuf descriptors for Tonic gRPC services"
homepage = "https://github.com/zs-dima/tonic-rest"
documentation = "https://docs.rs/tonic-rest-openapi"
readme = "README.md"
keywords = [
    "grpc",
    "rest",
    "protobuf",
    "openapi",
    "tonic",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/zs-dima/tonic-rest"

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

[features]
cli = [
    "dep:clap",
    "dep:toml",
    "dep:anyhow",
]
default = []
test-support = []

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

[[bin]]
name = "tonic-rest-openapi"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.prost]
version = "0.14"

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

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.9"
optional = true

[dependencies.tonic-rest-core]
version = "0.1"

[dev-dependencies.indoc]
version = "2"

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

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

[lints.rust]
unsafe_code = "forbid"