mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
Update template-engines/yarte to v4 (#502)
This commit is contained in:
parent
8b5de155bd
commit
9a00813b93
29
Cargo.lock
generated
29
Cargo.lock
generated
@ -5875,12 +5875,11 @@ dependencies = [
|
|||||||
name = "template_yarte"
|
name = "template_yarte"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-rt 1.1.1",
|
"actix-web 4.0.0-beta.21",
|
||||||
"actix-web 3.3.3",
|
|
||||||
"derive_more",
|
"derive_more",
|
||||||
"env_logger 0.8.4",
|
"env_logger 0.9.0",
|
||||||
"yarte",
|
"yarte",
|
||||||
"yarte_helpers 0.12.2",
|
"yarte_helpers",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -7129,7 +7128,7 @@ checksum = "c716c25f8cee3c289a749a10255f2b8eac52f8ac7279242f99eeb25acf2b51ce"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"buf-min 0.6.1",
|
"buf-min 0.6.1",
|
||||||
"yarte_derive",
|
"yarte_derive",
|
||||||
"yarte_helpers 0.15.6",
|
"yarte_helpers",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -7142,7 +7141,7 @@ dependencies = [
|
|||||||
"quote",
|
"quote",
|
||||||
"syn",
|
"syn",
|
||||||
"yarte_dom",
|
"yarte_dom",
|
||||||
"yarte_helpers 0.15.6",
|
"yarte_helpers",
|
||||||
"yarte_hir",
|
"yarte_hir",
|
||||||
"yarte_html",
|
"yarte_html",
|
||||||
]
|
]
|
||||||
@ -7157,7 +7156,7 @@ dependencies = [
|
|||||||
"quote",
|
"quote",
|
||||||
"syn",
|
"syn",
|
||||||
"yarte_codegen",
|
"yarte_codegen",
|
||||||
"yarte_helpers 0.15.6",
|
"yarte_helpers",
|
||||||
"yarte_hir",
|
"yarte_hir",
|
||||||
"yarte_parser",
|
"yarte_parser",
|
||||||
]
|
]
|
||||||
@ -7171,21 +7170,11 @@ dependencies = [
|
|||||||
"markup5ever",
|
"markup5ever",
|
||||||
"quote",
|
"quote",
|
||||||
"syn",
|
"syn",
|
||||||
"yarte_helpers 0.15.6",
|
"yarte_helpers",
|
||||||
"yarte_hir",
|
"yarte_hir",
|
||||||
"yarte_html",
|
"yarte_html",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "yarte_helpers"
|
|
||||||
version = "0.12.2"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "8f13cb211fffcfc9ac73726af6885f35a627d5662fe380a962529db071a3332d"
|
|
||||||
dependencies = [
|
|
||||||
"serde 1.0.136",
|
|
||||||
"toml",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "yarte_helpers"
|
name = "yarte_helpers"
|
||||||
version = "0.15.6"
|
version = "0.15.6"
|
||||||
@ -7215,7 +7204,7 @@ dependencies = [
|
|||||||
"syn",
|
"syn",
|
||||||
"v_eval",
|
"v_eval",
|
||||||
"v_htmlescape 0.14.1",
|
"v_htmlescape 0.14.1",
|
||||||
"yarte_helpers 0.15.6",
|
"yarte_helpers",
|
||||||
"yarte_parser",
|
"yarte_parser",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -7247,7 +7236,7 @@ dependencies = [
|
|||||||
"serde 1.0.136",
|
"serde 1.0.136",
|
||||||
"syn",
|
"syn",
|
||||||
"unicode-xid",
|
"unicode-xid",
|
||||||
"yarte_helpers 0.15.6",
|
"yarte_helpers",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -6,15 +6,12 @@ publish = false
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "3"
|
actix-web = "4.0.0-beta.21"
|
||||||
env_logger = "0.8"
|
env_logger = "0.9.0"
|
||||||
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
|
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
|
||||||
derive_more = "0.99"
|
derive_more = "0.99"
|
||||||
|
|
||||||
[build-dependencies.yarte_helpers]
|
[build-dependencies.yarte_helpers]
|
||||||
version = "0.12"
|
version = "0.15.6"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["config"]
|
features = ["config"]
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
actix-rt = "1"
|
|
@ -41,7 +41,7 @@ mod test {
|
|||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_web::test]
|
||||||
async fn test() {
|
async fn test() {
|
||||||
let mut app = atest::init_service(App::new().service(index)).await;
|
let mut app = atest::init_service(App::new().service(index)).await;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user