agnostic-net

Crates.ioagnostic-net
lib.rsagnostic-net
version0.2.3
sourcesrc
created_at2025-01-27 03:15:34.157329+00
updated_at2025-03-07 03:23:18.08326+00
descriptionAgnostic abstraction layer of `std::net` for any async runtime.
homepagehttps://github.com/al8n/agnostic
repositoryhttps://github.com/al8n/agnostic
max_upload_size
id1531957
size158,710
Al Liu (al8n)

documentation

README

Agnostic Network

Agnostic abstraction layer of std::net for any async runtime.

github LoC Build codecov

docs.rs crates.io crates.io license

Introduction

Agnostic 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.

Commit count: 0

cargo fmt