[package]
edition = "2021"
rust-version = "1.85"
name = "eggress-python"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python bindings for the eggress proxy embed API"
readme = "README.md"
keywords = [
"proxy",
"python",
"pyo3",
"bindings",
]
categories = [
"network-programming",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/eggstack/eggress"
[features]
default = []
legacy-crypto = [
"eggress-embed/legacy-crypto",
"eggress-cli/legacy-crypto",
"eggress-runtime/legacy-crypto",
"eggress-pproxy-compat/legacy-crypto",
]
pproxy-daemon = [
"eggress-cli/pproxy-daemon",
"eggress-pproxy-compat/daemon",
]
quic = [
"eggress-embed/quic",
"eggress-cli/quic",
"eggress-runtime/quic",
]
ssh = [
"eggress-embed/ssh",
"eggress-pproxy-compat/ssh",
"eggress-cli/ssh",
"eggress-runtime/ssh",
]
[lib]
name = "_eggress"
crate-type = ["cdylib"]
path = "src/lib.rs"
[dependencies.eggress-cli]
version = "=1.0.2"
[dependencies.eggress-config]
version = "=1.0.2"
[dependencies.eggress-core]
version = "=1.0.2"
[dependencies.eggress-embed]
version = "=1.0.2"
features = ["full"]
default-features = false
[dependencies.eggress-pproxy-compat]
version = "=1.0.2"
[dependencies.eggress-routing]
version = "=1.0.2"
[dependencies.eggress-runtime]
version = "=1.0.2"
default-features = false
[dependencies.eggress-system-proxy]
version = "=1.0.2"
[dependencies.pyo3]
version = "0.29"
features = [
"extension-module",
"abi3-py39",
]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"net",
"io-util",
"sync",
"time",
"signal",
"fs",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.url]
version = "2"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"