aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar Maarten de Vries <maarten@de-vri.es>2019-01-10 23:20:58 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-01-11 16:30:51 +0100
commitb3c1fc1a8e16ce414cd53b8e2068bc105f405ff5 (patch)
treef47b065f20a25699bf39ad2099b6e1db85c7cac7 /README.md
parent07904728f9708de152beea49ce67cafcd7225aa2 (diff)
downloadaskama-b3c1fc1a8e16ce414cd53b8e2068bc105f405ff5.tar.gz
askama-b3c1fc1a8e16ce414cd53b8e2068bc105f405ff5.tar.bz2
askama-b3c1fc1a8e16ce414cd53b8e2068bc105f405ff5.zip
Remove rerun_if_templates_changed and update README.
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 1 insertions, 16 deletions
diff --git a/README.md b/README.md
index 129ad4a..31a73f3 100644
--- a/README.md
+++ b/README.md
@@ -68,23 +68,8 @@ First, add the following to your crate's `Cargo.toml`:
```toml
# in section [dependencies]
-askama = "0.7"
+askama = "0.8"
-# in section [build-dependencies]
-askama = "0.7"
-```
-
-Because Askama will generate Rust code from your template files,
-the crate will need to be recompiled when your templates change.
-This is supported by adding a build script, `build.rs`, to your crate.
-It needs askama as a build dependency:
-
-```rust
-extern crate askama;
-
-fn main() {
- askama::rerun_if_templates_changed();
-}
```
Now create a directory called `templates` in your crate root.