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

This commit is contained in:
Consoli
2026-01-05 17:45:45 +01:00
committed by GitHub
parent 183ace306a
commit 4077966491
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)*) => {