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
@@ -68,6 +68,7 @@ pub const fn __private_validate_static_path(path: &'static str) -> &'static str
/// ```
///
/// This macro is available only on rust versions 1.80 and above.
#[cfg_attr(docsrs, doc(cfg(feature = "routing")))]
#[rustversion::since(1.80)]
#[macro_export]
macro_rules! vpath {