Skip to content

Remove the unmaintained surf dependency #7156

@Teebor-Choka

Description

@Teebor-Choka

Since the surf dependency is no longer maintained, it should be replaced by alternatives

Current Behavior

Currently the only code that still uses the surf dependency seems to be inside the hoprd REST API:

hoprd/hoprd/src/main.rs
41:            .add_directive("surf::middleware::logger::native=error".parse()?)

Expected Behavior

The surf dependency should be replaced by a native axum solution, e.g.: https://carlosmv.hashnode.dev/adding-logging-and-tracing-to-an-axum-app-rust

Context (Environment)

master branch.

Metadata

Metadata

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions