Skip to content

chore(deps): bump the all-dependencies group with 2 updates #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ license = "MIT"
repository = "https://github.com/cmackenzie1/axum-jwt-auth"

[dependencies]
axum = { version = "0.7", features = ["macros"] }
axum-extra = { version = "0.9.6", features = ["typed-header"] }
axum = { version = "0.8", features = ["macros"] }
axum-extra = { version = "0.10.0", features = ["typed-header"] }
jsonwebtoken = { version = "9" }
reqwest = { version = "0.12", default-features = false, features = [
"json",
Expand Down
3 changes: 1 addition & 2 deletions src/axum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use axum::extract::FromRef;
use axum::http::StatusCode;
use axum::response::Response;
use axum::RequestPartsExt;
use axum::{async_trait, http::request::Parts, response::IntoResponse};
use axum::{http::request::Parts, response::IntoResponse};
use axum_extra::headers::authorization::Bearer;
use axum_extra::headers::Authorization;
use axum_extra::TypedHeader;
Expand Down Expand Up @@ -43,7 +43,6 @@ pub struct JwtDecoderState {
pub decoder: Decoder,
}

#[async_trait]
impl<S, T> axum::extract::FromRequestParts<S> for Claims<T>
where
JwtDecoderState: FromRef<S>,
Expand Down
Loading