3 ms·
Tokio is basically the asynchronous standard I/O library for Rust. Async/await are language features. Tokio is the library for using these to do I/O. Rust ha
by octoberfranklin 6y ago
Tokio is basically the asynchronous standard I/O library for Rust.
Async/await are language features. Tokio is the library for using these to do I/O.
Rust has a really tiny standard library (by modern standards) and a very high standard for moving stuff into the standard library. Right now it has no "standard" asynchronous I/O library ("async-std" bequeathed that name on themselves; it doesn't ship with Rust).