Hi folks, does any one have experience in integrate Rust as a cross platform library in KMP project? Could you please share the approach or samples and issues we might face?
👀 1
j
jamshedalamqaderi
10/20/2025, 7:38 AM
Rust is used in ktor webrtc module. So, I think you should check ktor repo under client module
I haven't publicized (or documented) it much, but I put this Kotlin/Rust Hello World together recently. It intentially writes all of its JNI/FFI code by hand in order to highlight how it works, but in a real project you probably want to use something like gobley.
https://github.com/russhwolf/KtRs
K 1
russhwolf
10/20/2025, 4:41 PM
Also doing shared rust at scale for work, but all closed source at the moment