-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc for generation with multiple blocks of Api #552
Conversation
@all-contributors please add @dbsxdbsx for doc |
I've put up a pull request to add @dbsxdbsx! 🎉 |
Good work! LGTM, except some phrasing, which I will modify after merging. |
Btw, https://app.grammarly.com is quite helpful to check and improve grammar automatically. |
/cc @Desdaemon who wrote that wonderful tutorial part |
By the way, I forgot how flutter_rust_bridge solves the explicit and implicit APIs respectively. |
what is explicit and implicit api? |
If API is defined by users, it is explicit, others like |
Ah, those are in the code details and I also do not remember very clearly currently. I guess it is by simple string manipulation without fancy data structures. Feel free to refactor them and PR! |
Great writeup @dbsxdbsx. I'm thinking whether it would be fruitful to pursue a crate-wide, explicit declaration process a la wasm_bindgen, which could solve a lot of the problems described here. |
I have no idea what "a crate-wide, explicit declaration process" means here. But I guess it is something related to support for the web platform, right? |
I am not sure, I guess it may be another toml configuration file specifying things instead of using command-line? |
what's new
Mention the new example in Section
3.Features
.Add a new doc for detailed explanation on why and how to generate Api within multiple blocks(files).
related pr
#516
#527
related issue
#511