1
0
mirror of https://github.com/actix/examples synced 2025-06-26 09:17:41 +02:00

update minijinja version

This commit is contained in:
Rob Ede
2023-07-09 00:56:56 +01:00
parent e96b9aeccc
commit dbfa486897
12 changed files with 349 additions and 65 deletions

View File

@ -9,5 +9,5 @@ actix-web.workspace = true
env_logger.workspace = true
futures-util.workspace = true
log.workspace = true
redis = { version = "0.22", default-features = false, features = ["tokio-comp", "connection-manager"] }
redis = { version = "0.23", default-features = false, features = ["tokio-comp", "connection-manager"] }
serde.workspace = true

View File

@ -19,7 +19,7 @@ async fn cache_stuff(
.await
.map_err(error::ErrorInternalServerError)?;
let res = redis::Cmd::set_multiple(&[
let res = redis::Cmd::mset(&[
("my_domain:one", info.one),
("my_domain:two", info.two),
("my_domain:three", info.three),