1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00

Update template-engines/askama to v4 (#496)

This commit is contained in:
Luca Palmieri 2022-02-02 15:16:44 +00:00 committed by GitHub
parent 71899bf343
commit 32f6289764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 16 deletions

27
Cargo.lock generated
View File

@ -960,9 +960,9 @@ checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e"
[[package]] [[package]]
name = "askama" name = "askama"
version = "0.9.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10a1fb9e41eb366cbcd267da2094be5b7e62fdbca9f82091e7503e80f885050d" checksum = "4d8f355701c672c2ba3d718acbd213f740beea577cc4eae66accdffe15be1882"
dependencies = [ dependencies = [
"askama_derive", "askama_derive",
"askama_escape 0.3.0", "askama_escape 0.3.0",
@ -971,22 +971,20 @@ dependencies = [
[[package]] [[package]]
name = "askama_derive" name = "askama_derive"
version = "0.9.0" version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1012c270085fa35ece6a48a569544fde85b6d9ee41074c7b706cc912a03f939" checksum = "84704cab5b7ae0fd3a9f78ee5eb7b27f3749df445f04623db6633459ae283267"
dependencies = [ dependencies = [
"askama_shared", "askama_shared",
"nom 5.1.2",
"proc-macro2", "proc-macro2",
"quote",
"syn", "syn",
] ]
[[package]] [[package]]
name = "askama_escape" name = "askama_escape"
version = "0.3.0" version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a577aeba5fec1aafb9f195d98cfcc38a78b588e4ebf9b15f62ca1c7aa33795a" checksum = "9a1bb320f97e6edf9f756bf015900038e43c7700e059688e5724a928c8f3b8d5"
[[package]] [[package]]
name = "askama_escape" name = "askama_escape"
@ -996,14 +994,19 @@ checksum = "9a1bb320f97e6edf9f756bf015900038e43c7700e059688e5724a928c8f3b8d5"
[[package]] [[package]]
name = "askama_shared" name = "askama_shared"
version = "0.9.1" version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ee517f4e33c27b129928e71d8a044d54c513e72e0b72ec5c4f5f1823e9de353" checksum = "dae03eebba55a2697a376e58b573a29fe36893157173ac8df312ad85f3c0e012"
dependencies = [ dependencies = [
"askama_escape 0.3.0", "askama_escape 0.3.0",
"humansize", "humansize",
"nom 7.1.0",
"num-traits 0.2.14", "num-traits 0.2.14",
"percent-encoding",
"proc-macro2",
"quote",
"serde 1.0.136", "serde 1.0.136",
"syn",
"toml", "toml",
] ]
@ -5785,9 +5788,9 @@ dependencies = [
name = "template-askama" name = "template-askama"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web 3.3.3", "actix-web 4.0.0-beta.21",
"askama", "askama",
"env_logger 0.8.4", "env_logger 0.9.0",
] ]
[[package]] [[package]]

View File

@ -4,9 +4,9 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.8" env_logger = "0.9.0"
actix-web = "3" actix-web = "4.0.0-beta.21"
askama = "0.9" askama = "0.11.0"
[build-dependencies] [build-dependencies]
askama = "0.9" askama = "0.11.0"