aboutsummaryrefslogtreecommitdiffstats
path: root/askama_actix/src
diff options
context:
space:
mode:
Diffstat (limited to 'askama_actix/src')
-rw-r--r--askama_actix/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/askama_actix/src/lib.rs b/askama_actix/src/lib.rs
index 7372034..e0f78ca 100644
--- a/askama_actix/src/lib.rs
+++ b/askama_actix/src/lib.rs
@@ -20,3 +20,10 @@ impl<T: askama::Template> TemplateIntoResponse for T {
.body(buffer.freeze()))
}
}
+
+// Re-exported for use by generated code
+#[doc(hidden)]
+pub mod futures {
+ pub use futures_util::future::ready;
+ pub use futures_util::future::Ready;
+}