From 23df4c5b9e5b7fc6b1116dd74a6168419a54d658 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 5 Aug 2021 11:51:00 +0200 Subject: Remove the askama_iron integration This web framework seems not to have been updated for quite a while, and its current version appears to depend on vulnerable crates. Remove it for now. If someone wants to fix up Iron upstream and reinstate this, I'd be happy to review your PR. --- book/src/integrations.md | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'book/src') diff --git a/book/src/integrations.md b/book/src/integrations.md index f717fe0..a972e4d 100644 --- a/book/src/integrations.md +++ b/book/src/integrations.md @@ -12,18 +12,6 @@ In case a run-time error occurs during templating, a `500 Internal Server Error` `Status` value will be returned, so that this can be further handled by your error catcher. -## Iron integration - -Enabling the `with-iron` feature appends an implementation of Iron's -`Modifier` trait for each template type. This makes it easy to -trivially return a value of that type in an Iron handler. See -[the example](https://github.com/djc/askama/blob/main/askama_iron/tests/basic.rs) -from the Askama test suite for more on how to integrate. - -Note that Askama's generated `Modifier` implementation currently -unwraps any run-time errors from the template. If you have a better -suggestion, please [file an issue](https://github.com/djc/askama/issues/new). - ## Actix-web integration Enabling the `with-actix-web` feature appends an implementation of Actix-web's -- cgit