From 5dba52d683535ac69a1b040fa88ce67111ab3ea9 Mon Sep 17 00:00:00 2001 From: "Martin (mart-e)" Date: Fri, 16 Oct 2026 17:31:42 +0200 Subject: [PATCH] Add feature flag in the documentation Add the "Available on crate feature glob_fs only." warning in the documentation --- tera/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tera/src/lib.rs b/tera/src/lib.rs index 246e5866..de60f6a2 100644 --- a/tera/src/lib.rs +++ b/tera/src/lib.rs @@ -64,6 +64,7 @@ //! [Django]: https://docs.djangoproject.com/en/3.1/topics/templates/ #![deny(missing_docs)] +#![cfg_attr(docsrs, feature(doc_cfg))] mod args; mod components;