I have a mixed application, that uses C code that is called from Rust. This C code uses the libsodium functions. What would be the best way to link the libsodium?
I thought the easiest way would be to use an existing crate like "libsodium-sys", but the original symbols don't seem to be visible to the C code.
I could port the makefile to a build.rs. But this is error prone and not very elegant
I could statically link the prebuilt library. Now I have to generate and update binaries for every platform
How would you proceed in my position?