-
slint
Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
cli
Discontinued Dev server, hot reload, and packaging tool for Dioxus apps. Includes VSCode Extension (by DioxusLabs)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
From what I gathered GUI is still a more or less brittle topic in the rust ecosystem. What I'm trying to do is creating an enigma machine in rust for a puzzle I plan to design and for learning GUI in rust and rust in general. After googling around a little bit, I stumbled upon slint, formerly sixtyFPS. I really liked the almost HTML-like markup language, so you have really strict separation of logic and markup. I already was able to design a crude keyboard of the enigma input, and make the buttons flash, if clicked, but I really struggled with manipulating the GUI from within the rust code. I want to be able to press the button on my physical keyboard and make the according button on the screen light up. This proved to be quite unintuitive and I found almost no documentation.
use Tauri in a project to build desktop app from web app , I get:
The library i use is Dioxus (https://github.com/DioxusLabs/dioxus), which is basically react, but in rust. Their book is really helpful to get you started, and if you’ve done anything with react you wont have any problem.
You can, but the user has to have webview installed. It can be bundled with the app with their cli tool (https://github.com/DioxusLabs/cli)
Slint is similar to qt quick, and since qt is a more mature gui framework you can try a crate for qt interopt such as https://github.com/KDAB/cxx-qt/. This crate allows you to QObjects in rust for usage in qml.
With gtk4 you can just bundle the libs. You can check out https://github.com/MGlolenstine/gtk4-cross for a docker container that handles cross-compiling to windows and packaging the libs.
use Tauri in a project to build desktop app from web app , I get:
I started a project, Gooey, that I feel is a good foundation to building an extensible user interface. Sadly, it has no flexbox, grid layouts, or scrolling support. What it does have:
I'd like to mention Sycamore (disclaimer: I created this project) which is inspired from SolidJS but in Rust.
Related posts
-
How frender works: the implementation details of porting React.js to rust
-
How's the GUI-creation side of Rust looking nowadays?
-
Announcing samba – a Rust full-stack assistant for ballroom dancers
-
Sycamore -a library for creating web apps in Rust and WebAssembly
-
How Discord Stores Trillions of Messages