synapse-proxy 0.2.16

Config-driven reverse-proxy sidecar: path-prefix routing, static header injection, and streaming passthrough.
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 = "synapse-proxy"
version = "0.2.16"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Config-driven reverse-proxy sidecar: path-prefix routing, static header injection, and streaming passthrough."
readme = "README.md"
keywords = [
    "proxy",
    "sidecar",
    "reverse-proxy",
    "gateway",
]
categories = ["web-programming::http-server"]
license = "AGPL-3.0-only"
repository = "https://github.com/sustentabilitas/synapse-gateway"

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

[[bin]]
name = "synapse-proxy"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.opentelemetry]
version = "0.32"

[dependencies.opentelemetry-otlp]
version = "0.32"
features = [
    "http-proto",
    "reqwest-client",
]

[dependencies.opentelemetry-prometheus]
version = "0.32"

[dependencies.opentelemetry_sdk]
version = "0.32"

[dependencies.prometheus]
version = "0.14"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

[dependencies.rustls]
version = "0.23"
features = [
    "aws-lc-rs",
    "std",
]
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.synapse-context]
version = "0.1.0"

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

[dependencies.toml]
version = "0.8"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

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

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

[dev-dependencies.wiremock]
version = "0.6"