Rust frontend-backend communication without JSON in-between possible? #1268
JakubKoralewski
started this conversation in
General
Replies: 1 comment 4 replies
-
Currently this isn't supported, but it's definitely something we're planning to add in the future. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm currently reading the docs to try to understand the project and I have a question:
https://tauri.studio/en/docs/guides/command mentions:
But if I write my frontend in Rust and use Rust for handling the commands the in between step of converting a Rust struct into JSON and back again seems redundant. Could something like https://github.com/servo/bincode be used for the message passing? Is this too niche a feature?
Maybe I'm misunderstanding how message/command passing works, and even though I'd use Rust in the frontend, it would generate a JS call anyway?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions