Skip to content

Commit 7211131

Browse files
committed
bump lambda_http to 0.4.0
1 parent 884525f commit 7211131

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ serde = "1.0.117"
5252
serde_json = "1.0.59"
5353

5454
# feature = lambda
55-
lambda_http = { version = "0.3.0", optional = true }
55+
lambda_http = { version = "0.4.0", optional = true }
5656
http = { version = "0.2.4", optional = true }
5757

5858
[dev-dependencies]

src/lambda.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::pin::Pin;
55
use crate::http::Error;
66
use crate::{Body, Server};
77

8-
impl<State> lambda_http::Handler for Server<State>
8+
impl<'a, State> lambda_http::Handler<'a> for Server<State>
99
where
1010
State: Clone + Send + Sync + 'static,
1111
{

0 commit comments

Comments
 (0)