[package]
edition = "2024"
rust-version = "1.96"
name = "plecto-control"
version = "0.3.7"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Plecto's control plane: declarative manifest, OCI artifact loading, filter-chain dispatch, and atomic hot reload."
homepage = "https://github.com/Kaikei-e/PlectoProxy"
documentation = "https://docs.rs/plecto-control"
readme = "README.md"
keywords = [
"proxy",
"gateway",
"wasm",
"webassembly",
"http",
]
categories = [
"network-programming",
"web-programming",
"wasm",
]
license = "Apache-2.0"
repository = "https://github.com/Kaikei-e/PlectoProxy"
[features]
fat-guest = ["plecto-host/fat-guest"]
instruction-bench = []
outbound-http = ["plecto-host/outbound-http"]
outbound-tcp = ["plecto-host/outbound-tcp"]
[lib]
name = "plecto_control"
path = "src/lib.rs"
bench = false
[[test]]
name = "control"
path = "tests/control.rs"
[[test]]
name = "oci_layout"
path = "tests/oci_layout.rs"
[[test]]
name = "reload"
path = "tests/reload.rs"
[[bench]]
name = "fastpath"
path = "benches/fastpath.rs"
harness = false
[[bench]]
name = "fastpath_inst"
path = "benches/fastpath_inst.rs"
harness = false
required-features = ["instruction-bench"]
[dependencies.anyhow]
version = "1"
[dependencies.arc-swap]
version = "1"
[dependencies.aws-lc-rs]
version = "1"
[dependencies.hex]
version = "0.4"
[dependencies.ipnet]
version = "2"
[dependencies.oci-spec]
version = "0.10"
features = ["image"]
default-features = false
[dependencies.parking_lot]
version = "0.12"
[dependencies.plecto-host]
version = "0.3.7"
[dependencies.rustls]
version = "0.23"
features = [
"aws_lc_rs",
"prefer-post-quantum",
"std",
"tls12",
"logging",
]
default-features = false
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.signal-hook]
version = "0.3"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.webpki-roots]
version = "1"
[dependencies.zeroize]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.gungraun]
version = "0.19"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rcgen]
version = "0.13"
features = [
"ring",
"pem",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1