Skip to content

Reduce dependency on futures_timer  #275

Closed
@yoshuawuyts

Description

@yoshuawuyts

In preparation for #170, we should reduce the API surface of any new dependency and make it easier to swap between implementations.

To that extent it's probably best if we only rely on futures_timer::Delay, and remove our dependency on other parts of the futures-timer crate.

Once that's done we can vastly reduce the API surface of futures-timer itself, and then create a new crate that implements the same (much smaller) API surface.

This should be reasonably straight forward, and fairly easy to pick up. So this is marked as "good first issue". If someone wants to pick this up it'd be greatly appreciated!

Tasks

  • src/io/timeout.rs remove dependency on futures_timer::TryFutureExt by inlining the logic.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions