Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A toy multithreaded tokio-like runtime capable of executing async-await futures

Notifications You must be signed in to change notification settings

ztlpn/minitokio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

minitokio

A toy tokio-like runtime capable of executing async-await futures. Starts with libstd and mio and provides a reactor, a multithreaded futures executor and async TcpStream/TcpListener wrappers.

The purpose of this repo is to understand how all pieces fit together in an async runtime. Don't use for anything serious, use tokio instead.

Examples

See examples/http_server.rs for a simple HTTP server. Run with cargo run --release --example http_server and point your browser or your favorite load testing tool at http://127.0.0.1:8000/.

About

A toy multithreaded tokio-like runtime capable of executing async-await futures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages