Skip to content

fix(deps): update rust crate axum to 0.7.3 #31

fix(deps): update rust crate axum to 0.7.3

fix(deps): update rust crate axum to 0.7.3 #31

Triggered via push December 29, 2023 18:19
Status Success
Total duration 21s
Artifacts

checks.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors
struct takes 0 generic arguments but 1 generic argument was supplied: src/http/metrics.rs#L31
error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied --> src/http/metrics.rs:31:51 | 31 | pub async fn middleware<B>(req: Request<B>, next: Next<B>) -> Result<Response, StatusCode> { | ^^^^--- help: remove these generics | | | expected 0 generic arguments | note: struct defined here, with 0 generic parameters --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.3/src/middleware/from_fn.rs:334:12 | 334 | pub struct Next { | ^^^^
unresolved import `axum::Server`: src/http/mod.rs#L11
error[E0432]: unresolved import `axum::Server` --> src/http/mod.rs:11:59 | 11 | use axum::{http::StatusCode, middleware, routing, Router, Server}; | ^^^^^^ | | | no `Server` in the root | help: a similar name exists in the module: `serve`