1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +01:00

Update yarte version to 0.3 (#155)

This commit is contained in:
Juan Aguilar 2019-07-11 10:47:22 +02:00 committed by Nikolay Kim
parent 82786d4461
commit 3f286b5b60
2 changed files with 4 additions and 3 deletions

View File

@ -10,12 +10,12 @@ workspace = ".."
[dependencies]
env_logger = "0.6"
yarte = { version = "0.2", features=["with-actix-web"] }
yarte = { version = "0.3", features=["with-actix-web"] }
actix-web = "1.0"
[build-dependencies]
yarte = { version = "0.2", features=["with-actix-web"] }
yarte = { version = "0.3", features=["with-actix-web"] }
[dev-dependencies]
bytes = "0.4"

View File

@ -2,10 +2,11 @@
Minimal example of using template [yarte](https://gitlab.com/r-iendo/yarte) that displays a form.
[Template benchmarks in stable](https://gitlab.com/botika/template-benchmarks-rs)
```bash
cargo test
cargo run
```
> open `localhost:8080`