Crate byor

Crate byor 

Source
Expand description

Bring your own runtime!

This crate provides a set of traits that abstract over common runtime-specific functionality, including networking, fs, and synchronization primitives. It is intended to allow for libraries to implement complex async behavior without locking its users into a specific runtime.

Implementations are provided for tokio, smol, and futures. The traits can be easily implemented for other runtimes.

Modulesยง

channel
Channels for sending data between asynchronous tasks.
executor
Executors for running tasks.
fs
Filysystem operations.
lock
Async synchronization primitives.
net
TCP/UDP networking.
runtime
Provided runtime implementations.
time
Asynchronous timing.