How can I call a method from C library from Scala? The same question for a library written not in C, but in Rust. Are there examples?
And are there ways to do it directly? Namely, without intermediate wrapper in Java, or without C wrapper in case of Rust library. But this way
Scala <-> C lib
Scala <-> Rust lib
And if not, how to do it at least indirectly?