From 0ffaa78a320d505f48fdb914b8b5d094f517be5a Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Wed, 18 Feb 2026 17:14:25 +0900 Subject: [PATCH] docs(web): document introspection feature (#3937) --- actix-web/README.md | 4 ++++ actix-web/src/lib.rs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/actix-web/README.md b/actix-web/README.md index f25d78531..3bc04539b 100644 --- a/actix-web/README.md +++ b/actix-web/README.md @@ -45,6 +45,10 @@ To enable faster release iterations, we mark some features as experimental. These features are prefixed with `experimental` and a breaking change may happen at any release. Please use them in a production environment at your own risk. +- `experimental-introspection`: exposes route and method reporting helpers for local diagnostics + and tooling. See [`examples/introspection.rs`](examples/introspection.rs) and + [`examples/introspection_multi_servers.rs`](examples/introspection_multi_servers.rs). + ## Documentation - [Website & User Guide](https://actix.rs) diff --git a/actix-web/src/lib.rs b/actix-web/src/lib.rs index cca0a7616..53ee93c83 100644 --- a/actix-web/src/lib.rs +++ b/actix-web/src/lib.rs @@ -74,6 +74,9 @@ //! To enable faster release iterations, we mark some features as experimental. //! These features are prefixed with `experimental` and a breaking change may happen at any release. //! Please use them in a production environment at your own risk. +//! +//! - `experimental-introspection` - route and method reporting utilities for local diagnostics +//! and tooling. See `examples/introspection.rs` and `examples/introspection_multi_servers.rs`. #![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")]