1 unstable release

0.1.0 Dec 7, 2023

#1527 in Asynchronous


Used in mfio-netfs

MIT license

610KB
14K SLoC

mfio-rt

mfio Backed Runtime

This crate aims to provide building blocks for mfio backed asynchronous runtimes. The traits have the option to not rely on the standard library. This makes the system great for no_std embedded environments or kernel-side code.

native feature (depends on std) enables native implementations of the runtime through NativeRt structure.

virt feature enables a virtual in-memory runtime through VirtRt structure.

Custom runtimes may be implemented by implementing IoBackend, and any of the runtime traits, such as Fs or Tcp.


lib.rs:

mfio-rt

mfio Backed Runtime

This crate aims to provide building blocks for mfio backed asynchronous runtimes. The traits have the option to not rely on the standard library. This makes the system great for no_std embedded environments or kernel-side code.

native feature (depends on std) enables native implementations of the runtime through NativeRt structure.

virt feature enables a virtual in-memory runtime through VirtRt structure.

Custom runtimes may be implemented by implementing IoBackend, and any of the runtime traits, such as [Fs] or [Tcp].

no_std

Currently, only [Fs] is exposed in no_std environments. [Tcp] depends on structures, such as SocketAddr that are currently not available in core. This will change once ip_in_core is stabilized.

Dependencies

~7–61MB
~1M SLoC