aboutsummaryrefslogtreecommitdiffstats
path: root/askama_mendes
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-02-09 14:39:34 +0100
committerLibravatar GitHub <noreply@github.com>2022-02-09 14:39:34 +0100
commit57e53d58f41ce01af62ffc279fb83004130cadf4 (patch)
tree4831c27f732e1e69f6adc1702f5cee885a8be58d /askama_mendes
parentfd8bfa43c0c20e4af195824ff95503e41ddb82e8 (diff)
downloadaskama-57e53d58f41ce01af62ffc279fb83004130cadf4.tar.gz
askama-57e53d58f41ce01af62ffc279fb83004130cadf4.tar.bz2
askama-57e53d58f41ce01af62ffc279fb83004130cadf4.zip
askama_mendes: upgrade mendes to 0.0.62 (#636)
Diffstat (limited to 'askama_mendes')
-rw-r--r--askama_mendes/Cargo.toml2
-rw-r--r--askama_mendes/src/lib.rs2
-rw-r--r--askama_mendes/tests/basic.rs4
3 files changed, 4 insertions, 4 deletions
diff --git a/askama_mendes/Cargo.toml b/askama_mendes/Cargo.toml
index 600c584..591c5f7 100644
--- a/askama_mendes/Cargo.toml
+++ b/askama_mendes/Cargo.toml
@@ -14,7 +14,7 @@ edition = "2018"
[dependencies]
askama = { version = "0.11.0-beta.1", path = "../askama", default-features = false, features = ["with-mendes", "mime", "mime_guess"] }
-mendes = "0.0.60"
+mendes = "0.0.62"
[dev-dependencies]
async-trait = "0.1.51"
diff --git a/askama_mendes/src/lib.rs b/askama_mendes/src/lib.rs
index d1ccb2c..3bf3648 100644
--- a/askama_mendes/src/lib.rs
+++ b/askama_mendes/src/lib.rs
@@ -2,7 +2,7 @@
#![deny(elided_lifetimes_in_paths)]
#![deny(unreachable_pub)]
-use mendes::application::{Application, Responder};
+use mendes::application::{Application, IntoResponse};
use mendes::http::header::{HeaderValue, CONTENT_LENGTH, CONTENT_TYPE};
use mendes::http::request::Parts;
use mendes::http::Response;
diff --git a/askama_mendes/tests/basic.rs b/askama_mendes/tests/basic.rs
index e2f5b25..c9ef810 100644
--- a/askama_mendes/tests/basic.rs
+++ b/askama_mendes/tests/basic.rs
@@ -3,7 +3,7 @@ use std::sync::Arc;
use async_trait::async_trait;
use hyper::body::to_bytes;
use hyper::{Body, Request};
-use mendes::application::Responder;
+use mendes::application::IntoResponse;
use mendes::http::request::Parts;
use mendes::http::{Response, StatusCode};
use mendes::{handler, route, Application, Context};
@@ -77,7 +77,7 @@ impl std::fmt::Display for Error {
}
}
-impl Responder<App> for Error {
+impl IntoResponse<App> for Error {
fn into_response(self, _: &App, _: &Parts) -> Response<Body> {
Response::builder()
.status(StatusCode::from(&self))