I am using rust on front_end with Wasm and I cannot use reqwest in this context because I need maximum optimization regarding the size of the compiled code and I do have my own client to use from my front end framework.
Your job is amazing by the way :smile: but I have challenges to understand the flow because new to this, so I have few questions after I show my requirements:
Here are the challenges:
Need to use custom client with the use of http-types. ( I can help with that )
Need to use massively feature gates like in web_sys so we do compile only the Apis we will use ( we need to minimize the size of the compiled code ) for the front end.
Now the questions :wink: :
Should I contribute to you project to add the custom client and the feature gates requirements ?
Maybe adding these new features are not possible and requires massive changes, so should/could I write my own project and generate the Apis myself and optimize it for Wasm? ( I really would like to do this one )
Do you have any ideas or recommendation ? I am very new to this type of Apis, and I am not familiar with Code generation.
Do you have resources that explains how the code generation is working ?
Hello guys :smile: !
I am using rust on
front_end
with Wasm and I cannot usereqwest
in this context because I need maximum optimization regarding the size of the compiled code and I do have my own client to use from my front end framework.Your job is amazing by the way :smile: but I have challenges to understand the flow because new to this, so I have few questions after I show my requirements:
Here are the challenges:
custom client
with the use ofhttp-types
. ( I can help with that )feature gates
like in web_sys so we do compile only the Apis we will use ( we need to minimize the size of the compiled code ) for the front end.Now the questions :wink: :
Thanks :wink: !