Just a note for readers compiling in 2026 with 2024 editions, the corofied main.rs complains about lifetimes for all 5 leaf futures HttpGetFuture created like so:
Ofc, 3 obvious solutions come to mind:
- change edition to 2021
- Pre-define the paths as constants
- Change
Http::get() to accept String