From cc01b813238378319bec8ec87257d7c79de6b155 Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Fri, 9 Aug 2024 11:00:11 -0700 Subject: [PATCH] tree: upgrade axum: respond to cole-h feedback --- magic-nix-cache/Cargo.toml | 1 - magic-nix-cache/src/binary_cache.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/magic-nix-cache/Cargo.toml b/magic-nix-cache/Cargo.toml index 5be0c16..2a8c357 100644 --- a/magic-nix-cache/Cargo.toml +++ b/magic-nix-cache/Cargo.toml @@ -13,7 +13,6 @@ axum = { version = "0.7.5", default-features = false, features = [ "http2", "macros" ] } -# axum-macros = "0.3.7" clap = { version = "4.2.7", default-features = false, features = [ "std", "derive", diff --git a/magic-nix-cache/src/binary_cache.rs b/magic-nix-cache/src/binary_cache.rs index 4dc5d13..6b87fcc 100644 --- a/magic-nix-cache/src/binary_cache.rs +++ b/magic-nix-cache/src/binary_cache.rs @@ -74,7 +74,6 @@ async fn get_narinfo( pull_through(&state, &path) } -#[axum::debug_handler] async fn put_narinfo( Extension(state): Extension, Path(path): Path,