eggress-runtime 1.0.2

Service supervisor and composition layer for eggress
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.85"
name = "eggress-runtime"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Service supervisor and composition layer for eggress"
readme = "README.md"
keywords = [
    "proxy",
    "runtime",
    "supervisor",
    "lifecycle",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eggstack/eggress"

[features]
common = ["eggress-server/common"]
default = ["full"]
extended = [
    "dep:eggress-protocol-shadowsocks",
    "eggress-server/extended",
    "eggress-metrics/extended",
    "eggress-udp/shadowsocks",
]
full = [
    "common",
    "extended",
    "operations",
    "reverse",
]
legacy-crypto = [
    "extended",
    "eggress-server/legacy-crypto",
    "eggress-protocol-shadowsocks/legacy-crypto",
]
operations = [
    "dep:eggress-admin",
    "dep:eggress-system-proxy",
]
pproxy-legacy = [
    "extended",
    "eggress-server/pproxy-legacy",
    "eggress-protocol-shadowsocks/pproxy-legacy",
]
quic = [
    "eggress-config/quic",
    "eggress-server/quic",
    "dep:eggress-transport-quic",
    "dep:eggress-protocol-h3",
]
reverse = [
    "dep:eggress-protocol-reverse",
    "operations",
]
ssh = [
    "eggress-server/ssh",
    "dep:eggress-transport-ssh",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arc-swap]
version = "1"

[dependencies.eggress-admin]
version = "=1.0.2"
optional = true
default-features = false

[dependencies.eggress-config]
version = "=1.0.2"

[dependencies.eggress-core]
version = "=1.0.2"

[dependencies.eggress-metrics]
version = "=1.0.2"
default-features = false

[dependencies.eggress-protocol-h3]
version = "=1.0.2"
optional = true
default-features = false

[dependencies.eggress-protocol-reverse]
version = "=1.0.2"
optional = true

[dependencies.eggress-protocol-shadowsocks]
version = "=1.0.2"
optional = true

[dependencies.eggress-routing]
version = "=1.0.2"

[dependencies.eggress-server]
version = "=1.0.2"
default-features = false

[dependencies.eggress-system-proxy]
version = "=1.0.2"
optional = true

[dependencies.eggress-transport-quic]
version = "=1.0.2"
optional = true
default-features = false

[dependencies.eggress-transport-ssh]
version = "=1.0.2"
optional = true

[dependencies.eggress-transport-tls]
version = "=1.0.2"

[dependencies.eggress-udp]
version = "=1.0.2"
default-features = false

[dependencies.eggress-uri]
version = "=1.0.2"

[dependencies.fastrand]
version = "2"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "sync",
    "time",
    "signal",
    "fs",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.eggress-admin]
version = "=1.0.2"
default-features = false

[dev-dependencies.eggress-core]
version = "=1.0.2"

[dev-dependencies.eggress-protocol-http]
version = "=1.0.2"

[dev-dependencies.eggress-protocol-shadowsocks]
version = "=1.0.2"

[dev-dependencies.eggress-protocol-trojan]
version = "=1.0.2"

[dev-dependencies.eggress-protocol-websocket]
version = "=1.0.2"

[dev-dependencies.eggress-routing]
version = "=1.0.2"

[dev-dependencies.eggress-testkit]
version = "=1.0.2"

[dev-dependencies.eggress-transport-tls]
version = "=1.0.2"

[dev-dependencies.eggress-uri]
version = "=1.0.2"

[dev-dependencies.futures-util]
version = "0.3"

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

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

[dev-dependencies.rcgen]
version = "0.13"

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "net",
    "io-util",
    "sync",
    "time",
    "signal",
    "fs",
]

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

[dev-dependencies.tokio-tungstenite]
version = "0.26"

[dev-dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "deny"