diff --git a/.woodpecker.yml b/.woodpecker.yml index 56cfed9..b82dd94 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,5 @@ variables: - &rust_image "rust:1.78-bullseye" - - &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin" steps: cargo_fmt: @@ -10,15 +9,6 @@ steps: when: - event: pull_request - cargo_shear: - image: *rust_image - commands: - - *install_binstall - - cargo binstall -y cargo-shear - - cargo shear - when: - - event: pull_request - cargo_clippy: image: *rust_image environment: diff --git a/Cargo.toml b/Cargo.toml index 53698d8..5ac2d79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -93,6 +93,7 @@ tower = { version = "0.4.13", optional = true } [dev-dependencies] anyhow = "1.0.86" axum = { version = "0.7.5", features = ["macros"] } +axum-extra = { version = "0.9.3", features = ["typed-header"] } env_logger = "0.11.3" tokio = { version = "1.38.0", features = ["full"] }