trillium-proxy 0.7.0

reverse proxy for trillium.rs
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"
name = "trillium-proxy"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "reverse proxy for trillium.rs"
readme = "README.md"
keywords = [
    "trillium",
    "framework",
    "async",
]
categories = [
    "web-programming::http-server",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trillium-rs/trillium"
resolver = "2"

[features]
default = [
    "upstream-random",
    "upstream-connection-counting",
]
upstream-connection-counting = [
    "dep:trillium-server-common",
    "dep:fastrand",
]
upstream-random = ["dep:fastrand"]

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

[[example]]
name = "forward"
path = "examples/forward.rs"

[[example]]
name = "proxy"
path = "examples/proxy.rs"

[[example]]
name = "upstream"
path = "examples/upstream.rs"

[dependencies.event-listener]
version = "5.4.1"

[dependencies.fastrand]
version = "2.3.0"
optional = true

[dependencies.full-duplex-async-copy]
version = "0.1.0"

[dependencies.futures-lite]
version = "2.6.1"

[dependencies.log]
version = "0.4.29"

[dependencies.size]
version = "0.5.0"

[dependencies.sluice]
version = "0.6.0"

[dependencies.trillium]
version = "1"

[dependencies.trillium-client]
version = "0.8"

[dependencies.trillium-forwarding]
version = "0.3"

[dependencies.trillium-http]
version = "1"
features = ["unstable"]

[dependencies.trillium-server-common]
version = "0.7"
optional = true

[dependencies.url]
version = "2.5.8"

[dev-dependencies.env_logger]
version = "0.11.10"

[dev-dependencies.querystrong]
version = "0.4.0"
features = ["serde"]

[dev-dependencies.trillium-api]
version = "0.3"

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

[dev-dependencies.trillium-logger]
version = "0.5"

[dev-dependencies.trillium-smol]
version = "0.6"