From 93a9cc263874d9cce56cb004fd28bfbefee4ef59 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Mon, 4 Sep 2023 09:53:43 +0800 Subject: [PATCH] fix: expose directory source options --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 4c1136ac5..8cec5a66e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -395,6 +395,8 @@ pub use self::json::path::Path; pub use self::json::value::{to_json, JsonRender, PathAndJson, ScopedJson}; pub use self::local_vars::LocalVars; pub use self::output::{Output, StringOutput}; +#[cfg(feature = "dir_source")] +pub use self::registry::DirectorySourceOptions; pub use self::registry::{html_escape, no_escape, EscapeFn, Registry as Handlebars}; pub use self::render::{Decorator, Evaluable, Helper, RenderContext, Renderable}; pub use self::template::Template;