zsync 0.1.1

A Zero Dependency async net runtime thats truly cross-platform, including Windows, Linux, and MacOS.
Documentation
  • Coverage
  • 0%
    0 out of 24 items documented0 out of 19 items with examples
  • Size
  • Source code size: 29.45 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.14 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • VoltagedDebunked

ZSync

Rust License Edition Tests

A zero-dependency, cross-platform async runtime for Rust.

Features

  • Zero external dependencies
  • Cross-platform (Linux/macOS/Windows)
  • Native async I/O (epoll/kqueue/IOCP)
  • Efficient task scheduling
  • Full TCP support
  • Thread-safe executor

Usage

use zsync::{Runtime, TcpListener};

fn main() {
    let runtime = Runtime::new().unwrap();
    
    runtime.block_on(async {
        let listener = TcpListener::bind("127.0.0.1:8080").await.unwrap();
        
        while let Ok((mut socket, _)) = listener.accept().await {
            // Handle connection
        }
    });
}

Requirements

  • Rust 1.74 or higher
  • Rust 2021 edition

License

Licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0)