aboutsummaryrefslogtreecommitdiffstats
path: root/askama_actix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_actix/Cargo.toml4
-rw-r--r--askama_actix/tests/basic.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/askama_actix/Cargo.toml b/askama_actix/Cargo.toml
index 54329bb..d0552ca 100644
--- a/askama_actix/Cargo.toml
+++ b/askama_actix/Cargo.toml
@@ -13,10 +13,10 @@ readme = "README.md"
edition = "2018"
[dependencies]
-actix-web = { version = "4.0.0-beta.19", default-features = false }
+actix-web = { version = "4.0.0-rc.1", default-features = false }
askama = { version = "0.11.0", path = "../askama", default-features = false, features = ["with-actix-web", "mime", "mime_guess"] }
[dev-dependencies]
actix-rt = { version = "2", default-features = false }
-actix-test = "=0.1.0-beta.11"
+actix-test = "=0.1.0-beta.12"
bytes = { version = "1" }
diff --git a/askama_actix/tests/basic.rs b/askama_actix/tests/basic.rs
index 070cbf6..615e324 100644
--- a/askama_actix/tests/basic.rs
+++ b/askama_actix/tests/basic.rs
@@ -33,7 +33,7 @@ async fn test_actix_web_responder() {
let srv = actix_test::start(|| {
actix_web::App::new().service(web::resource("/").to(|| async {
let name = "world".to_owned();
- HelloTemplate { name: &name }.to_response().await
+ HelloTemplate { name: &name }.to_response()
}))
});