Skip to content

Commit

Permalink
Merge pull request #187 from oras-project/dependabot/cargo/axum-0.8
Browse files Browse the repository at this point in the history
chore(deps): Update axum requirement from 0.7 to 0.8
  • Loading branch information
flavio authored Jan 8, 2025
2 parents 6739e43 + b86be22 commit beceb7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ unicase = "2.6"
assert-json-diff = "2.0.2"
async-std = "1.12"
anyhow = "1.0"
axum = "0.7"
axum = "0.8"
clap = { version = "4.0", features = ["derive"] }
rstest = "0.24.0"
docker_credential = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions tests/digest_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ impl Drop for BadServer {
impl BadServer {
pub async fn new(config: ServerConfig) -> Self {
let app = Router::new()
.route("/v2/busybox/manifests/:digest", get(manifest_handler))
.route("/v2/busybox/blobs/:digest", get(blob_handler))
.route("/v2/busybox/manifests/{digest}", get(manifest_handler))
.route("/v2/busybox/blobs/{digest}", get(blob_handler))
.with_state(config);

let addr = SocketAddr::from(([127, 0, 0, 1], 0));
Expand Down

0 comments on commit beceb7b

Please # to comment.