Did you ever wonder, how to call Rust code from Ko...
# multiplatform
b
Did you ever wonder, how to call Rust code from Kotlin Multiplatform? I've build Kotlin Multiplatform bindings for uniffi if you are interested. Currently only JVM and Native are supported as targets, but I'm working on JS support too.
👍 3
👀 2
s
@benkuly i'd like to look at using this in a downstream library
i see it is licensed apache2 🙂 let me know if you're up to collaborate
b
It is and will stay open source under the apache 2, so feel free to contribute if you are missing something 🙂
k
@benkuly, I’m interested in giving this a try, are you planning on publishing it to creates?
Or perhaps as a gradle plugin?
Also wondering what would it take to add Android support?
b
Android should be no problem thanks to JNA. Just need to add some gradle config like this line.
Currently I have no ressources to work on this project. In the meantime uniffi got a large update and there is still no solution for JS as target.
k
cc @thunderbiscuit
t
Awesome sauce.
119 Views