strum
imgui-rs
Our great sponsors
strum | imgui-rs | |
---|---|---|
19 | 12 | |
1,570 | 2,541 | |
- | 1.8% | |
8.0 | 5.6 | |
12 days ago | 6 days ago | |
Rust | Rust | |
MIT License | Apache License 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.
strum
-
What are some common verbose code patterns in rust and unique ways to reduce the said verbosity?
Take a look at the strum crate. https://crates.io/crates/strum
-
Published my first Crate today to map Environment Variables to Enums
I would be use something like https://github.com/Peternator7/strum if I need map string to enum and serde is not the option.
-
Two-way alternative to enum_kinds crate?
Looks like proper support for this in strum has been proposed.
-
Best way of associating enums with values?
This crate can generate an iterator for you using a macro https://github.com/Peternator7/strum
-
Hey Rustaceans! Got a question? Ask here (4/2023)!
The strum crate is also good for removing this kind of boilerplate, and worth checking out!
-
What are some less popular but well-made crates you'd like others to know about?
strum is among my favorite crates to recommend. Favorites of this crate include EnumProperty and EnumIter
-
What's everyone working on this week (45/2022)?
I released my first crate that provides a derive macro to easily obtain a name of a current variant in an enum as a string. I did it mostly to learn about procedural macros and the process of releasing a crate. I then found out there is strum which does this and much more. Nonetheless, I learned a lot and I found couple of nice tools like ```cargo-release and git-cliff.
-
Hey Rustaceans! Got a question? Ask here! (33/2022)!
I used https://crates.io/crates/strum to iterate over the enum variants, otherwise you'd have to hardcode the list of variants and wouldn't gain anything.
-
Questions about enums
If you chose to go with the "derive a trait" route the strum crate might be what you're looking for. It lets you use derive to add information about variant count, discriminants or even iterators over variants to an enum.
-
Match enum with String
You might want something like strum
imgui-rs
-
GUI library for fast prototyping
there is a good bindings for imgui
-
I need a GUI framework that can do the following!
There are rust bindings for Dear Imgui. It's a great immediate mode gui that has been used in the gaming industry for tooling. It supports floating windows and such. And there is a lot of customisability to be had. The benefit of the immediate mode gui is that it is constructed and rendered separately from the rest of the logic. Allowing you to build out whatever the gui is for, separately. Then, the gui can be removed from the final build if that is what you want.
-
Cargo build feature issue: Building winit problem, says no features specified
Looks like the culprit is imgui-winit-support: https://github.com/imgui-rs/imgui-rs/pull/716
-
Help needed with imgui + wgpu on wasm
I am trying to use the imgui crate (along with imgui-winit-support and imgui-wgpu) with wgpu. I have followed the imgui-wgpu example and have gotten everything to work on the native version of the project.
-
What are the pros/cons of the best GUI options for a cross platform app in Rust?
Currently, I have narrowed potential libraries to: 1. Flutter 2. FLTK 3. Relm (GTK) 4. iced 5. Slint 6. Imgui, Imgui-rs 7. and gtk-rs
-
Hey Rustaceans! Got a question? Ask here (4/2023)!
Imgui, Imgui-rs
-
Windows Central: "Microsoft to merge Surface Pro X ARM and Surface Pro 9 Intel versions under one product line"
To move on to GUI dev, there's the Qt Framework, Eto.forms for C#; Rust has the ImGui wrapper for the C++ Dear ImGui library.
-
Which library should I use for creating an overlay?
Have you looked into the imgui bindings for rust? imgui-rs
-
ImGui with Glium. Need help setting up!
All the examples in the imgui repository use glium
- Is there any GUI framework or interface in RUST?
What are some alternatives?
enum-map
conrod - An easy-to-use, 2D GUI library written entirely in Rust.
serde-plain - A serde serializer that serializes a subset of types into plain strings
nuklear-rust - The bindings to the Nuklear 2D immediate GUI library.
enum-iterator - Tools to iterate over all values of a type
Native Windows GUI - A light windows GUI toolkit for rust
rust-djangohashers - A Rust port of the password primitives used in Django Project.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
sonyflake-rs - 🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
qt.rs - Qt5 binding for rust language. (stalled)
goblin - An impish, cross-platform binary parsing crate, written in Rust
iced - A cross-platform GUI library for Rust, inspired by Elm