|about 2 months ago||2 days ago|
|MIT License||MIT OR Apache-2.0.|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
When rustc developers run out of error messages to write
3 projects | reddit.com/r/rustjerk | 25 Jun 2022
Termion crate (https://crates.io/crates/termion), and very careful observation of a rust error. Hope your friend finds it useful ;)
Hey Rustaceans! Got an easy question? Ask here (35/2021)!
9 projects | reddit.com/r/rust | 30 Aug 2021
If you just need basic printing and limited input then I'd choose either crossterm or termion. If you want a full tui, then tui-rs is really good.
Termion: How to Detect the Enter key <Raw Mode>
3 projects | reddit.com/r/rust | 15 Aug 2021
Termion - Rust || Termion - crates.io
[TUI rust] How to clear the screen after exit the TUI app
2 projects | reddit.com/r/rust | 11 Aug 2021
So far, I took a quick search in tui-rs repo and see these examples. All of them are use termion.
What's everyone working on this week (20/2021)?
7 projects | reddit.com/r/rust | 17 May 2021
Sound capture with cpal, analysis with rustfft, terminal ui with tui and termion, and graphical with macroquad and egui
How I built a telnet chat server in 2021 with WebAssembly
6 projects | dev.to | 22 Feb 2021
They all compiled to WebAssembly without issues. I just needed to provide a telnet backend for TUI, but I could reuse most of the code from the termion crate (sadly it has no Windows support for now).
Egui 0.20 Released
2 projects | news.ycombinator.com | 8 Dec 2022
egui is an easy-to-use immediate mode GUI for Rust, and I just released 0.20. It's a big release!
There is now support for AccessKit (https://github.com/AccessKit/accesskit) which brings accessibility to egui (a first for an immediate mode GUI?).
There is also better table support, nicer keyboard shortcut handling, better looking text in light mode (still not great, but better).
See more in the changelog: https://github.com/emilk/egui/blob/master/CHANGELOG.md
Try it out at www.egui.rs
Egui commit: Implement accessibility APIs via AccessKit
> Figma isn't based on canvas, it's based on WebGL.
Aren't they the same thing?
And egui also talks about challenges with rendering on browsers using WebGL and WASM: https://github.com/emilk/egui/tree/master/crates/eframe#prob...
That's because egui uses an "immediate mode" approach: it's rendering everything from scratch every time something _might_ have changed (e.g. a mouse move could've trigged a hover effect).
Whereas the DOM uses "retained mode": it continually modifies a representation of the layout (DOM elements) and re-renders when something _actually_ changes.
You can click on the "Backend" button at the top, and "Mean CPU usage" will tell you how long it takes for each frame to be produced. It'll vary depending on how complex the layout is: e.g. how many windows are open. But, contrary to retained mode, it doesn't matter at all if everything is animating simultaneously.
More about immediate vs. retained: https://github.com/emilk/egui#why-immediate-mode
Are there any good UI/GUI libraries out there?
8 projects | reddit.com/r/rust | 30 Nov 2022
Pure Rust GUI Landscape
8 projects | dev.to | 24 Nov 2022
What could be a first project in rust?
3 projects | reddit.com/r/rust | 6 Nov 2022
lightweight gui for rust
4 projects | reddit.com/r/rust | 20 Oct 2022
4 projects | reddit.com/r/rust | 18 Oct 2022
did you realize, that the author of this article (Emil Ernerfeldt) is also the main developer of egui -- i.e. one of the most promising cross-platform rust GUI libs right now?15 projects | news.ycombinator.com | 18 Oct 2022
So far so good!
Putting the UI in a canvas elements have some distinct drawbacks (https://github.com/emilk/egui/tree/master/crates/eframe#prob...) but for us it is definitely worth it. Having one unified codebase for our web app and native app, and having it all in Rust, is just amazing.
We're currently working on a 3D renderer based on wgpu (https://github.com/gfx-rs/wgpu) that we will likewise use for both web and desktop.
What are some alternatives?
iced - A cross-platform GUI library for Rust, inspired by Elm
crossterm - Cross platform terminal library rust
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
druid - A data-first Rust-native UI design toolkit.
Native Windows GUI - A light windows GUI toolkit for rust
bevy - A refreshingly simple data-driven game engine built in Rust
ncurses-rs - A low-level ncurses wrapper for Rust
Cursive - A Text User Interface library for the Rust programming language
gtk4-rs - Rust bindings of GTK 4
fltk-rs - Rust bindings for the FLTK GUI library.