structured-proxy 5.0.0

Universal gRPC→REST transcoding proxy — config-driven, works with any gRPC service
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"
name = "structured-proxy"
version = "5.0.0"
authors = ["Dmitry Prudnikov <mail@polaz.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal gRPC→REST transcoding proxy — config-driven, works with any gRPC service"
homepage = "https://github.com/structured-world/structured-proxy"
documentation = "https://docs.rs/structured-proxy"
readme = "README.md"
keywords = [
    "grpc",
    "rest",
    "proxy",
    "transcoding",
    "protobuf",
]
categories = [
    "network-programming",
    "web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/structured-world/structured-proxy"

[package.metadata.docs.rs]
features = ["redis"]

[features]
aws_lc_rs = [
    "builtin_jwt",
    "jsonwebtoken/aws_lc_rs",
    "rustls/aws_lc_rs",
]
builtin_jwt = ["dep:jsonwebtoken"]
cli = [
    "dep:clap",
    "dep:tracing-subscriber",
    "redis",
]
default = ["rust_crypto"]
redis = ["dep:redis"]
rust_crypto = [
    "builtin_jwt",
    "jsonwebtoken/rust_crypto",
    "dep:rustls-rustcrypto",
]

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

[[bin]]
name = "structured-proxy"
path = "src/main.rs"
doc = false
required-features = ["cli"]

[[test]]
name = "cli"
path = "tests/cli.rs"
required-features = ["cli"]

[[test]]
name = "dynamic_codec"
path = "tests/dynamic_codec.rs"

[[test]]
name = "embedded"
path = "tests/embedded.rs"

[[test]]
name = "error_details"
path = "tests/error_details.rs"

[[test]]
name = "forwarded_headers"
path = "tests/forwarded_headers.rs"

[[test]]
name = "hooks"
path = "tests/hooks.rs"

[[test]]
name = "request_mapping"
path = "tests/request_mapping.rs"

[[test]]
name = "streaming_request"
path = "tests/streaming_request.rs"

[[test]]
name = "upstream_controls"
path = "tests/upstream_controls.rs"

[[bench]]
name = "jwt_verify"
path = "benches/jwt_verify.rs"
harness = false
required-features = ["builtin_jwt"]

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.base64]
version = "0.23"

[dependencies.bytes]
version = "1"

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

[dependencies.dashmap]
version = "6"

[dependencies.envoy-types]
version = "0.7"

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.4"

[dependencies.globset]
version = "0.4"

[dependencies.http]
version = "1"

[dependencies.ipnet]
version = "2"

[dependencies.jsonwebtoken]
version = "11"
features = ["use_pem"]
optional = true
default-features = false

[dependencies.prometheus]
version = "0.14"

[dependencies.prost]
version = "0.14"

[dependencies.prost-reflect]
version = "0.16"
features = ["serde"]

[dependencies.redis]
version = "1.2"
features = [
    "tokio-comp",
    "connection-manager",
]
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls-no-provider",
    "json",
]
default-features = false

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

[dependencies.rustls-rustcrypto]
version = "0.0.2-alpha"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tonic]
version = "0.14"

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

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

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.7"
features = [
    "cors",
    "trace",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]
optional = true

[dependencies.url]
version = "2"

[dependencies.webpki-roots]
version = "1"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.axum]
version = "0.8"
features = ["macros"]

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

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.criterion]
version = "0.8"
features = [
    "async_tokio",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.ed25519-dalek]
version = "3"

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

[dev-dependencies.http-body]
version = "1"

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

[dev-dependencies.protox]
version = "0.9"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.rustls-rustcrypto]
version = "0.0.2-alpha"

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

[dev-dependencies.tokio-rustls]
version = "0.26"
features = ["tls12"]
default-features = false

[dev-dependencies.tokio-stream]
version = "0.1"

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