Rust Constructor V2
A powerful cross-platform GUI framework, the easiest way to develop GUI projects in Rust
English | 简体中文
Rust Constructor is an open-source project, but it has no direct connection with the development team of egui!
Contents
Version update information
- The latest version currently available is v2.1.0: Standardized Update (released on October 7, 2025). The main updates are as follows:
- Make extensive changes to all
RCR
s. Now, you can create resources using the more commonxxx::default().xxx()
format. - Modify the usage methods of all
add
methods. - Adding the
image_texture
method can directly extract the texture of the image. - The hyperlink definition method of
Text
has been modified. Now you can directly provide the text content to which the link belongs and select all matches or specific matches. - The current number of states on
Switch
depends on the number of items inappearance
. If it is less than the minimum value, the creation will fail. - Add the
reset_split_time
andreset_image_texture
methods to reset specific resources. - Removed the
frame
parameter fromApp
. - Rename
GameText
toAppText
. - Now, the
new
method of theApp
directly receivesConfig
andAppText
instead of file paths. - Fixed the issue where the prompt text of
Switch
failed to display after a single blank space. - Fixed the issue where the underline of the hyperlink in
Text
would not be covered by the text box. - Removed
ScrollBackground
.
- Make extensive changes to all
The purpose of creating Rust Constructor
During the development of Targeted Vector, we encountered some problems that egui couldn't solve, so we expanded many tools. To enable more people to develop conveniently, we created Rust Constructor.
FAQ
-
Which platforms does Rust Constructor support?
MacOS and Windows have been confirmed to fully support it, while Linux has not yet been tested.
-
How to use Rust Constructor?
*Add rust_constructor = "x.y.z" in toml.
-
What are the differences between Rust Constructor V2 and V1?
*The original architecture was modified to fit the structure of the library crate and published on crates.io with an official guide added.
License
MIT © 2025 ChepleBob
Epilogue
If you like this project, please give me a star on GitHub. You can also join our organization Binder.