docs: Document that vpath and json macros are feature-gated (#3615)

This commit is contained in:
Consoli
2026-04-03 08:49:48 +02:00
committed by Alice Ryhl
parent 9c67c6c33a
commit 2587f22a05
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -130,6 +130,7 @@ impl IntoResponse for ErasedJson {
/// ```
/// let response = axum_extra::json!(["trailing",]);
/// ```
#[cfg_attr(docsrs, doc(cfg(feature = "erased-json")))]
#[macro_export]
macro_rules! json {
($($t:tt)*) => {