Librsvg Continues Rust Conquest, Pulls In CSS Parsing Code From Mozilla Servo
Librsvg is employing the CSS engine from Mozilla's Servo engine in order to be written in Rust while also having the benefit of being able to handle more complex CSS code than the previous implementation.
Through this latest librsvg work, the dependency on GNOME's libcroco was also dropped. Libcroco is a CSS parsing library that has been largely unmaintained for years and has known issues against it -- including security issues.
Long story short, the CSS code for librsvg is now in Rust, libcroco is no longer a dependency, and this latest Rust transitioning will appear soon with librsvg 2.47.1.
With librsvg dropping libcroco that just leaves GNOME Shell as the last user of that CSS parsing library. Developer Federico Mena Quintero has volunteered to help port GNOME Shell's CSS code to Rust so that could be happening as well as we approach 2020.
More details on this Rust work via Federico's blog.