#Dynamic Main/Window menu
1 messages · Page 1 of 1 (latest)
what thing specifically you currently cannot figure out(what specifically you want to do and you cannot figure out)
@lost jungle sorry for not replying, I didn't see a notification from Discord.
I can't figure out how to make the HTTP call and then parse the JSON and then manipulate the menu and all in the correct time before the window attempts to render
for http you could use reqwest
for json you could use serde with serde_json
for menu you could use https://docs.rs/tauri/1.2.4/tauri/struct.Builder.html#method.menu
Builds a Tauri application.
Thanks... I'm already using hyper (which looks like it's built on top of reqwest?) and serde and just trying to figure out all of this timing whilst getting my head around Rust syntax and other paradigms 😅