[package]
edition = "2021"
rust-version = "1.89"
name = "gaze-proxy"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Feature-gated multi-provider HTTP proxy for Gaze PII pseudonymization"
homepage = "https://github.com/CertaMesh/gaze"
readme = "README.md"
keywords = [
"pii",
"gaze",
"proxy",
"llm",
]
categories = [
"web-programming::http-server",
"text-processing",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/CertaMesh/gaze"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["proxy-daemon"]
proxy-daemon = [
"dep:chrono",
"dep:dirs",
"dep:fs2",
"dep:tracing-appender",
]
[lib]
name = "gaze_proxy"
path = "src/lib.rs"
[[test]]
name = "adapter_contract"
path = "tests/adapter_contract.rs"
[[test]]
name = "anthropic_codec"
path = "tests/anthropic_codec.rs"
[[test]]
name = "anthropic_direct"
path = "tests/anthropic_direct.rs"
[[test]]
name = "anthropic_sse"
path = "tests/anthropic_sse.rs"
[[test]]
name = "anthropic_surfaces"
path = "tests/anthropic_surfaces.rs"
[[test]]
name = "daemon_lifecycle"
path = "tests/daemon_lifecycle.rs"
[[test]]
name = "gemini_surfaces"
path = "tests/gemini_surfaces.rs"
[[test]]
name = "inspection_contract"
path = "tests/inspection_contract.rs"
[[test]]
name = "legacy_adapter_leak_proof"
path = "tests/legacy_adapter_leak_proof.rs"
[[test]]
name = "openai_non_stream"
path = "tests/openai_non_stream.rs"
[[test]]
name = "openai_sse"
path = "tests/openai_sse.rs"
[[test]]
name = "proxy_compat_golden"
path = "tests/proxy_compat_golden.rs"
[[test]]
name = "proxy_locale_chain"
path = "tests/proxy_locale_chain.rs"
[[test]]
name = "proxy_substrate"
path = "tests/proxy_substrate.rs"
[[test]]
name = "session_registry"
path = "tests/session_registry.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"std",
]
optional = true
default-features = false
[dependencies.dirs]
version = "6"
optional = true
[dependencies.fs2]
version = "0.4"
optional = true
[dependencies.futures-util]
version = "0.3"
[dependencies.gaze]
version = "0.13.0"
package = "gaze-pii"
[dependencies.gaze-assembly]
version = "0.13.0"
[dependencies.gaze-inspection]
version = "0.13.0"
[dependencies.gaze-types]
version = "0.13.0"
[dependencies.getrandom]
version = "0.3"
[dependencies.hmac]
version = "0.12"
[dependencies.http]
version = "1"
[dependencies.libc]
version = "0.2"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"process",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.toml]
version = "0.8"
[dependencies.tower]
version = "0.5"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-appender]
version = "0.2"
optional = true
[dependencies.url]
version = "2"
features = ["serde"]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.zeroize]
version = "1"
[dev-dependencies.gaze]
version = "0.13.0"
features = ["test-support"]
package = "gaze-pii"
[dev-dependencies.gaze-recognizers]
version = "0.13.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]