Hi Guys,
I've been interested in Rust for some time now (and even more, now that
I've learned about functional programming and studied the lambda calculus
at university ;)
I have 2 questions regarding the state and future of Rust on fedora:
1) Is there support for building and distributing rust libraries as shared
libraries (.so files), if the crate supports it?
If not, this could lead to at least one problem ... any software package
using a rust library via a FFI (as described at [0]) would have to build
the crate itself and bundle the library. I don't think this is feasible in
the long run (every package having to build the create itself and every
package having to include the .so file looks like a lot of wasted work,
time and space to me).
Additionally, I generally dislike linking everything statically (like
golang does), and would much prefer if fedora supported building and
distributing rust libraries from the start. ;)
2) Is there a tool for generating .spec files / srpms from crates (like
gofed, but nicer), and is such a tool planned?
If nobody has started working on that yet, I'd volunteer. It sounds like a
fun project!
[0]:
https://doc.rust-lang.org/1.5.0/book/rust-inside-other-languages.html
Fabio