From 29cb90bceb59d9dbea94342dfdd8136e1ef494e6 Mon Sep 17 00:00:00 2001 From: Jacob Rothstein Date: Thu, 9 Jul 2020 21:06:03 -0700 Subject: askama tide --- book/src/integrations.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'book') diff --git a/book/src/integrations.md b/book/src/integrations.md index 25bcc18..2d016c7 100644 --- a/book/src/integrations.md +++ b/book/src/integrations.md @@ -50,3 +50,12 @@ Enabling the `with-warp` feature appends an implementation of Warp's `Reply` trait for each template type. This makes it simple to return a template from a Warp filter. See [the example](https://github.com/djc/askama/blob/master/askama_warp/tests/warp.rs) from the Askama test suite for more on how to integrate. + +## Tide integration + +Enabling the `with-tide` feature appends `Into` and +`TryInto` implementations for each template type. This +provides the ability for tide apps to build a response directly from +a template, or to append a templated body to an existing +`Response`. See [the example](https://github.com/djc/askama/blob/master/askama_tide/tests/tide.rs) +from the Askama test suite for more on how to integrate. -- cgit