Skip to main content

rws_gateway_api/
lib.rs

1//! The Kubernetes Gateway API controller of rust-web-server (kube).
2//!
3//! Internal to rust-web-server, released with it at the same version: use
4//! these through the `rust_web_server` paths, which stay stable; this
5//! crate's own layout may change in any release. See
6//! `spec/WORKSPACE_SPLIT.md`.
7#![cfg_attr(docsrs, feature(doc_cfg))]
8
9// Derive output (rws-macros) names `::rust_web_server::…`; in this crate's
10// tests that is this crate.
11#[cfg(test)]
12extern crate self as rust_web_server;
13
14// The layers below, under the paths the moved code uses (`crate::request`, …);
15// public (hidden) so doctests can name them as `rust_web_server::…`.
16#[allow(unused_imports)]
17#[doc(hidden)]
18pub use rws_server::{application, core, error, header, request, response, server, url};
19#[cfg(all(any(feature = "http-client", feature = "http2"), not(target_arch = "wasm32")))]
20#[doc(hidden)]
21pub use rws_server::crypto_provider;
22#[cfg(feature = "http2")]
23#[doc(hidden)]
24pub use rws_server::tls;
25#[cfg(all(any(feature = "http-client", feature = "http2"), not(target_arch = "wasm32")))]
26#[doc(hidden)]
27pub use rws_server::tls_client_builder;
28#[allow(unused_imports)]
29#[doc(hidden)]
30pub use rws_proxy::{proxy};
31
32pub mod gateway_api;
33
34#[cfg(test)]
35pub(crate) mod test_env;