open-net 0.3.5

A cross-platform async networking library for Rust with HTTP and WebSocket clients, network status monitoring, configurable retries, WebSocket reconnection and heartbeats, and managed client lifecycles. Reuse common networking infrastructure across applications to avoid repeated implementation and debugging, helping save development time and AI coding tokens.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Cross-platform helpers for task spawning and time.

// These internal helpers are available independently of enabled network features.
#![allow(unused_imports)]

/// Spawns a future on the current platform runtime.
pub use spawn::spawn;
/// Returns the current Unix timestamp in milliseconds.
pub use time::now;
/// Sleeps asynchronously for a duration.
pub use time::sleep;

mod spawn;
mod time;