Skip to content

Commit

Permalink
Merge pull request #423 from hesampakdaman/fix-421
Browse files Browse the repository at this point in the history
Fix 421: Use axum::http::header;
  • Loading branch information
ndelvalle authored May 26, 2024
2 parents 0f1fd39 + 86b8a76 commit f81f9db
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tower-http = { version = "0.4.4", features = [
"sensitive-headers",
"cors",
] }
http = "0.2.9"
http = "1.1.0"
chrono = "0.4.38"
async-trait = "0.1.80"
# Investigate if wither::bson can be used instead and activate this feature.
Expand Down
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use axum::http::header;
use axum::Router;
use http::header;
use tower_http::{
compression::CompressionLayer, cors::CorsLayer, propagate_header::PropagateHeaderLayer,
sensitive_headers::SetSensitiveHeadersLayer, trace,
Expand Down

0 comments on commit f81f9db

Please sign in to comment.