mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-06 00:00:17 +02:00
docs: Document that vpath and json macros are feature-gated (#3615)
This commit is contained in:
@@ -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)*) => {
|
||||
|
||||
Reference in New Issue
Block a user