A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Futures work very differently than threads: They enable cooperative multitasking. It's a really complex topic to explain. The result is that if you use futures, you need an async runtime such as tokio, and all the libraries you use for IO need to work with Futures. There are two ways how IO can be implemented: In a blocking way (which works well with threads managed by the operating way) or in an asynchronous way (which works well with an async runtime). Because pcap, the library you use, isn't asynchronous, using Futures doesn't make sense.
Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
Rusty Ownership and the Lifecycle’s Stone
2 projects | news.ycombinator.com | 27 Nov 2022
Is rust good for web scraping and MongoDB Atlas Management?
1 project | reddit.com/r/rust | 25 Nov 2022
Why are dependency crates hidden?
1 project | reddit.com/r/rust | 10 Nov 2022
The only thing I'm always struggling to understand is the documentation on docs.rs
7 projects | reddit.com/r/rust | 4 Nov 2022
How does the Rust mio crate implement deregistering connections?
1 project | reddit.com/r/rust | 22 Oct 2022