3 ms·
I'd like a single-threaded async pull-based http library
by java_expert_123 4y ago
I'd like a single-threaded async pull-based http library
- fasterthanlime 4y agoI'm not sure what you mean by "pull-based", but you can make the whole thing single-threaded with `#[tokio::main(flavor = "current_thread")]` See https://docs.rs/tokio/latest/tokio/attr.main.html https://docs.rs/tokio/latest/tokio/attr.main.html