2 unstable releases
new 0.2.0 | Jan 30, 2025 |
---|---|
0.1.0 | Jan 27, 2025 |
#1737 in Network programming
115 downloads per month
Used in 13 crates
(3 directly)
315KB
7.5K
SLoC
Agnostic Network
Introduction
Sans-I/O abstraction layer of std::net
for any async runtime.
Builtin supports runtimes:
tokio
async-std
smol
Installation
[dependencies]
agnostic-net = "0.1"
-
tokio
agnostic-net = { version = "0.1", features = ["tokio"] }
-
smol
agnostic-net = { version = "0.1", features = ["smol"] }
-
async-std
agnostic-net = { version = "0.1", features = ["async-std"] }
License
agnostic-net
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
~9–22MB
~323K SLoC