diff --git a/Cargo.lock b/Cargo.lock index 04865ef..1f3ad03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5875,12 +5875,11 @@ dependencies = [ name = "template_yarte" version = "0.0.1" dependencies = [ - "actix-rt 1.1.1", - "actix-web 3.3.3", + "actix-web 4.0.0-beta.21", "derive_more", - "env_logger 0.8.4", + "env_logger 0.9.0", "yarte", - "yarte_helpers 0.12.2", + "yarte_helpers", ] [[package]] @@ -7129,7 +7128,7 @@ checksum = "c716c25f8cee3c289a749a10255f2b8eac52f8ac7279242f99eeb25acf2b51ce" dependencies = [ "buf-min 0.6.1", "yarte_derive", - "yarte_helpers 0.15.6", + "yarte_helpers", ] [[package]] @@ -7142,7 +7141,7 @@ dependencies = [ "quote", "syn", "yarte_dom", - "yarte_helpers 0.15.6", + "yarte_helpers", "yarte_hir", "yarte_html", ] @@ -7157,7 +7156,7 @@ dependencies = [ "quote", "syn", "yarte_codegen", - "yarte_helpers 0.15.6", + "yarte_helpers", "yarte_hir", "yarte_parser", ] @@ -7171,21 +7170,11 @@ dependencies = [ "markup5ever", "quote", "syn", - "yarte_helpers 0.15.6", + "yarte_helpers", "yarte_hir", "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]] name = "yarte_helpers" version = "0.15.6" @@ -7215,7 +7204,7 @@ dependencies = [ "syn", "v_eval", "v_htmlescape 0.14.1", - "yarte_helpers 0.15.6", + "yarte_helpers", "yarte_parser", ] @@ -7247,7 +7236,7 @@ dependencies = [ "serde 1.0.136", "syn", "unicode-xid", - "yarte_helpers 0.15.6", + "yarte_helpers", ] [[package]] diff --git a/template_engines/yarte/Cargo.toml b/template_engines/yarte/Cargo.toml index 77279fa..df8565d 100644 --- a/template_engines/yarte/Cargo.toml +++ b/template_engines/yarte/Cargo.toml @@ -6,15 +6,12 @@ publish = false edition = "2018" [dependencies] -actix-web = "3" -env_logger = "0.8" +actix-web = "4.0.0-beta.21" +env_logger = "0.9.0" yarte = { version = "0.15", features = ["bytes-buf", "html-min"] } derive_more = "0.99" [build-dependencies.yarte_helpers] -version = "0.12" +version = "0.15.6" default-features = false -features = ["config"] - -[dev-dependencies] -actix-rt = "1" +features = ["config"] \ No newline at end of file diff --git a/template_engines/yarte/src/main.rs b/template_engines/yarte/src/main.rs index 2550e55..4388b27 100644 --- a/template_engines/yarte/src/main.rs +++ b/template_engines/yarte/src/main.rs @@ -41,7 +41,7 @@ mod test { use super::*; - #[actix_rt::test] + #[actix_web::test] async fn test() { let mut app = atest::init_service(App::new().service(index)).await;