aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-02-01 12:41:26 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-02-01 13:23:34 +0100
commitdaf7e98c92cea21603e794676f95baa6ddc8f752 (patch)
tree1ef7a3a0489d7da4180c90a30f0709e8ca446ce6
parentc98f2729722afad85be7a6b6cba18aedbd83733a (diff)
downloadaskama-daf7e98c92cea21603e794676f95baa6ddc8f752.tar.gz
askama-daf7e98c92cea21603e794676f95baa6ddc8f752.tar.bz2
askama-daf7e98c92cea21603e794676f95baa6ddc8f752.zip
actix: upgrade to actix 4-rc.1
-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()
}))
});