Skip to content

Commit

Permalink
bump axum
Browse files Browse the repository at this point in the history
  • Loading branch information
hatoo committed Jan 5, 2025
1 parent 27bc712 commit 0e9e725
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 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 @@ -81,7 +81,7 @@ aws-lc-rs = { version = "1.8.1", features = ["bindgen"] }

[dev-dependencies]
assert_cmd = "2.0.14"
axum = { version = "0.7", features = ["http2"] }
axum = { version = "0.8.1", features = ["http2"] }
bytes = "1.6"
float-cmp = "0.10.0"
http-mitm-proxy = "0.12.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async fn redirect(n: usize, is_relative: bool, limit: usize) -> bool {
let (listener, port) = bind_port().await;

let app = Router::new().route(
"/:n",
"/{n}",
get(move |Path(x): Path<usize>| async move {
Ok::<_, Infallible>(if x == n {
tx.send(()).unwrap();
Expand Down

0 comments on commit 0e9e725

Please sign in to comment.