Hello and greetings,
I maintain a desktop API where the deploy is basically a binary library (one for each OS: Windows, Linux and Mac).
At this time, does Rust is able to create such libraries during compile time ?
Cheers
Hello and greetings,
I maintain a desktop API where the deploy is basically a binary library (one for each OS: Windows, Linux and Mac).
At this time, does Rust is able to create such libraries during compile time ?
Cheers
Yes. Details can be found here: Page Moved
The details of these crate types can be found here: The Rust Reference has moved
In particular if you want to create a standard dynamic library to be consumed by other applications written in other languages, you most definitely want a crate type of cdylib
. You typically do not want dylib
.
Thanks a lot.