Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
386 changes: 381 additions & 5 deletions Cargo.lock

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions crates/praxis-experimental-filters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,29 @@ workspace = true

[dependencies]
async-trait = "0.1.89"
bytes = "1.12.1"
futures = "0.3.31"
http = "1.5.0"
serde = { workspace = true }
serde_json = "1.0.151"
serde_yaml = { package = "yaml_serde", version = "0.10.4" }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["net"] }
tracing = { workspace = true }

# Praxis core (crates.io). Keep in lockstep with praxis-proxy/ai's pins so the
# `FilterRegistry` type unifies to a single version across this workspace and the
# git-pinned praxis-ai-proxy server crate.
praxis-filter = { version = "0.5.3", package = "praxis-proxy-filter" }
praxis-core = { version = "0.5.3", package = "praxis-proxy-core" }

# The pingora fork praxis builds on; needed for HttpPeer (judge callout targets).
pingora-core = { version = "0.8.2", package = "quixotic-plecostomus-core", features = ["rustls"] }

# NVIDIA NeMo Switchyard (pre-alpha). Pinned exactly to v0.2.0.
switchyard-libsy = "=0.2.0"
switchyard-protocol = "=0.2.0"
switchyard-translation = "=0.2.0"

[dev-dependencies]
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
8 changes: 2 additions & 6 deletions crates/praxis-experimental-filters/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
//! `server/build.rs` and `praxis-ai-build-support`). The generated registration
//! code calls [`register_filters`], which is emitted by the
//! [`praxis_filter::export_filters!`] macro invoked below.
//!
//! For now this crate ships a single no-op placeholder filter
//! (`experimental_placeholder`), so that end-to-end discovery and registration
//! are provable before the real filters land (`switchyard_route` in
//! praxis-proxy/experimental#2; `api_key_auth` and `token_ceiling` under the
//! Standalone AI Gateway MVP epic, praxis-proxy/ai#758).

mod placeholder;
mod switchyard_route;

praxis_filter::export_filters! {
http "experimental_placeholder" => placeholder::PlaceholderFilter::from_config,
http "switchyard_route" => switchyard_route::SwitchyardRouteFilter::from_config,
}
Loading
Loading