Over the last months the Rust/cargo support in meson improved a lot.

It's now ready to build and install a GTK4 Rust application with around 70 dependencies without having to write almost any custom build glue for the dependencies.

https://github.com/sdroege/mandelbrot#meson-build

The application in question is just a small experiment of mine for rayon and GTK4 input handling / rendering. The more or less same should work for other GTK4 applications at this point.

All this still depends on two unmerged meson PRs, but it's a huge step forward from the situation just a few months ago.

Thanks to the hard work of @xclaesse and dcbaker!

I hope in the future this will allow GNOME applications written in Rust to have a less strange and fragile build setup than what they have right now with mixing cargo and meson.

#rustlang #rust #gtk #gnome #meson #mesonbuild

GitHub - sdroege/mandelbrot: GTK/Rust based viewer for the Mandelbrot set

GTK/Rust based viewer for the Mandelbrot set. Contribute to sdroege/mandelbrot development by creating an account on GitHub.

GitHub

Also my GStreamer plugin experiment from a couple of months ago works now without any custom build glue for the dependencies.

https://gitlab.freedesktop.org/slomo/gst-plugin-meson-test

#rustlang #rust #GStreamer #gnome #meson #mesonbuild

Sebastian Dröge / gst-plugin-meson-test · GitLab

freedesktop.org GitLab login

GitLab