Hello everyone, this is my first post here
I'm still reading the book so I have lots left to learn However even now I understand how Rust is a truly innovative and game-changing language. From some researches I've made it seems that there isn't yet an official or at least good enough UI toolkit to rival something like QT. This unfortunately prevents using Rust for many projects.
Then this idea came to mind: why not embed (some components of) Servo in the standard library and build a toolkit around it? This would come with some serious advantages: the drawing code of a toolkit is IMHO the most tedious and time-consuming to write, and drawing a beautiful UI is quite hard (I often use Java Swing, which is very powerful but somewhat ugly to see).
Relying on Servo would hugely alleviate this aspect: layouts and components would (ideally) be only custom HTML elements (to write once and put in the standard library) and CSS (to update sporadically when a new version of a particular OS/toolkit to mimic comes out). This approach would also enable developers to perform powerful styling for free.
The UI toolkit should "only" implement a DOM-like Rust API and a main loop. Sure there are things I did not consider, but nonetheless I'm sure this approach would be far simpler, much more powerful and less redundant than drawing widgets from scratch or try wrapping natives.
What do you think about it?