Skip to content

Commit 000decd

Browse files
committed
update tower-sessions
1 parent d6504e1 commit 000decd

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Unreleased
22

3+
# 0.8.0
4+
5+
- Update `tower-sessions` to 0.14.0
6+
37
# 0.7.0
48

59
- Update `tower-sessions` to 0.13.0

Cargo.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "axum-messages"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
edition = "2021"
55
authors = ["Max Countryman <[email protected]>"]
66
categories = ["asynchronous", "network-programming", "web-programming"]
@@ -12,23 +12,22 @@ readme = "README.md"
1212
repository = "https://github.com/maxcountryman/axum-messages"
1313

1414
[dependencies]
15-
async-trait = "0.1.77"
16-
axum-core = "0.4.3"
15+
axum-core = "0.5.0"
1716
http = "1.0.0"
1817
parking_lot = "0.12.1"
1918
serde = { version = "1.0.195", features = ["derive"] }
2019
serde_json = "1"
21-
tower = "0.4"
22-
tower-sessions-core = "0.13.0"
20+
tower = "0.5"
21+
tower-sessions-core = "0.14.0"
2322
tracing = { version = "0.1.40", features = ["log"] }
2423

2524
[dev-dependencies]
26-
axum = { version = "0.7.0", features = ["macros"] }
25+
axum = { version = "0.8.1", features = ["macros"] }
2726
http-body-util = "0.1"
2827
hyper = "1.0"
2928
tokio = { version = "1.20", features = ["macros", "rt-multi-thread"] }
30-
tower = "0.4"
31-
tower-sessions = "0.13.0"
29+
tower = "0.5"
30+
tower-sessions = "0.14.0"
3231

3332
[[example]]
3433
name = "basic"

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ use std::{
130130
task::{Context, Poll},
131131
};
132132

133-
use async_trait::async_trait;
134133
use axum_core::{
135134
extract::{FromRequestParts, Request},
136135
response::Response,
@@ -350,7 +349,6 @@ impl Iterator for Messages {
350349
}
351350
}
352351

353-
#[async_trait]
354352
impl<S> FromRequestParts<S> for Messages
355353
where
356354
S: Send + Sync,

0 commit comments

Comments
 (0)