HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by java_expert_123 | Hacker News Reader
Full thread
java_expert_123
·
I'd like a single-threaded async pull-based http library
View on HN
fasterthanlime
·
I'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
Reply on news.ycombinator.com