Skip to content

Commit

Permalink
Bump axum from 0.7.9 to 0.8.1 (#48)
Browse files Browse the repository at this point in the history
* Bump axum from 0.7.9 to 0.8.1

Bumps [axum](https://github.com/tokio-rs/axum) from 0.7.9 to 0.8.1.
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/commits)

---
updated-dependencies:
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update tower-cookies to match and fix build.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <[email protected]>
  • Loading branch information
dependabot[bot] and qwandor authored Jan 2, 2025
1 parent 7801b2a commit 932219f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 33 deletions.
41 changes: 14 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["web-programming"]
[dependencies]
askama = "0.12.1"
atom_syndication = "0.12.6"
axum = "0.7.9"
axum = "0.8.1"
chrono = "0.4.39"
color-backtrace = "0.6.1"
eyre = "0.6.5"
Expand All @@ -26,11 +26,15 @@ pulldown-cmark = "0.12.2"
pulldown-cmark-escape = "0.11.0"
regex = "1.11.1"
serde = "1.0.217"
sqlx = { version = "0.6.3", features = ["chrono", "postgres", "runtime-tokio-rustls"] }
sqlx = { version = "0.6.3", features = [
"chrono",
"postgres",
"runtime-tokio-rustls",
] }
stable-eyre = "0.2.2"
tokio = { version = "1.42.0", features = ["macros", "rt-multi-thread"] }
toml = "0.8.19"
tower-cookies = "0.10.0"
tower-cookies = "0.11.0"
tower-http = { version = "0.6.2", features = ["fs"] }

[package.metadata.deb]
Expand Down
3 changes: 0 additions & 3 deletions src/session.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::{config::Config, errors::InternalError, model::User};
use axum::{
async_trait,
extract::{Extension, FromRequestParts, OriginalUri},
http::request::Parts,
};
Expand Down Expand Up @@ -36,7 +35,6 @@ impl Session {
}
}

#[async_trait]
impl<S: Send + Sync> FromRequestParts<S> for Session {
type Rejection = InternalError;

Expand Down Expand Up @@ -65,7 +63,6 @@ pub struct Flash {
pub error: Option<String>,
}

#[async_trait]
impl<S: Send + Sync> FromRequestParts<S> for Flash {
type Rejection = InternalError;

Expand Down

0 comments on commit 932219f

Please sign in to comment.