#run-time #traits #async #agnostic

agnostic-io

Defines I/O traits for async runtime agnostic I/O

1 unstable release

new 0.1.0 Jan 27, 2025

#1606 in Asynchronous


Used in 2 crates (via agnostic-net)

MIT/Apache

14KB

Agnostic I/O

agnostic-io defines I/O traits for async runtime agnostic I/O.

github LoC Build codecov

docs.rs crates.io crates.io license

Introduction

agnostic-io defines I/O traits for async runtime agnostic I/O.

Builtin supports runtimes:

  • tokio
  • async-std
  • smol

Installation

[dependencies]
agnostic-io = "0.1"
  • tokio::io compat

    agnostic-io = { version = "0.1", features = ["tokio"] }
    

License

agnostic-io is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2025 Al Liu.

Dependencies

~0.6–6.5MB
~38K SLoC