Search
Items tagged with: cargo
Over the Easter holidays I experimented a bit with building Rust code with meson instead of cargo.
Specifically I tried building a GStreamer plugin with a few dozen Rust dependencies, but the same applies in a similar way to GTK/GNOME applications or literally anything else.
A write-up of the results with a lot of details can be found here: https://coaxion.net/blog/2023/04/building-a-gstreamer-plugin-in-rust-with-meson-instead-of-cargo/
#RustLang #GStreamer #GNOME #GTK #meson #cargo #BuildSystems
in ~/.cargo/config.toml, put:
[registries.crates-io]
protocol = "sparse"
The speed difference for 'cargo update', particularly on a smaller project, is amazing and delightful.
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html#cargos-sparse-protocol
Announcing Rust 1.68.0 | Rust Blog
Empowering everyone to build reliable and efficient software.blog.rust-lang.org