Repository navigation
|
How to call this tarpc service from Flutter (dart) code? |
Answered by
tikue
Aug 12, 2024
Replies: 2 comments
|
Hey, sorry for not seeing this earlier! tarpc doesn't generate stubs for any languages other than Rust. For cross-language RPCs, I'd probably stick with something like gRPC, where there is a compiler for multiple languages. |
0 replies
Answer selected by
tikue
|
You can also write code that wraps the client and exports a C interface using Rust's C ABI support. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, sorry for not seeing this earlier!
tarpc doesn't generate stubs for any languages other than Rust. For cross-language RPCs, I'd probably stick with something like gRPC, where there is a compiler for multiple languages.