fix(deps): update rust crate tower-http to 0.6 #51
Annotations
1 error and 1 warning
the trait bound `tower_http::trace::Trace<axum::routing::Route, tower_http::classify::SharedClassifier<tower_http::classify::ServerErrorsAsFailures>>: tower::Service<axum::http::Request<_>>` is not satisfied:
src/http/mod.rs#L45
error[E0277]: the trait bound `tower_http::trace::Trace<axum::routing::Route, tower_http::classify::SharedClassifier<tower_http::classify::ServerErrorsAsFailures>>: tower::Service<axum::http::Request<_>>` is not satisfied
--> src/http/mod.rs:45:13
|
44 | .layer(
| ----- required by a bound introduced by this call
45 | / TraceLayer::new_for_http().make_span_with(
46 | | DefaultMakeSpan::new()
47 | | .level(Level::TRACE)
48 | | .include_headers(true),
49 | | ),
| |_____________^ the trait `tower::Service<axum::http::Request<_>>` is not implemented for `tower_http::trace::Trace<axum::routing::Route, tower_http::classify::SharedClassifier<tower_http::classify::ServerErrorsAsFailures>>`
|
= help: the trait `tower::Service<http::request::Request<ReqBody>>` is implemented for `tower_http::trace::Trace<S, M, MakeSpanT, OnRequestT, OnResponseT, OnBodyChunkT, OnEosT, OnFailureT>`
note: the method call chain might not have had the expected associated types
--> src/http/mod.rs:45:40
|
45 | TraceLayer::new_for_http().make_span_with(
| _____________--------------------------_^
| | |
| | this expression has type `TraceLayer<SharedClassifier<ServerErrorsAsFailures>>`
46 | | DefaultMakeSpan::new()
47 | | .level(Level::TRACE)
48 | | .include_headers(true),
49 | | ),
| |_____________^ `Layer::Service` is `Trace<_, SharedClassifier<ServerErrorsAsFailures>>` here
note: required by a bound in `axum::Router::<S, B>::layer`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.6.20/src/routing/mod.rs:236:21
|
233 | pub fn layer<L, NewReqBody>(self, layer: L) -> Router<S, NewReqBody>
| ----- required by a bound in this associated function
...
236 | L::Service: Service<Request<NewReqBody>> + Clone + Send + 'static,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Router::<S, B>::layer`
|
license
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|