









As a low level language, Rust is perfectly suitable for making user interfaces the old fashioned way, with native APIs. However, competing in today's world typically means supporting many platforms, and that makes using native APIs an unattractive option for many.
Rust's expressiveness and high level abstractions make it ideal for building intricate and complex user interfaces. Unfortunately, there is little consensus on what the best abstractions are.
There are a number of bindings available today to existing frameworks, but those looking for a mature, easy to use, and completely Rust-based solution will most likely find themselves out of luck.
Current approaches to building GUIs in Rust include interfacing with Electron and building GUIs with HTML (or a framework on top of it), while others have taken to using graphics APIs and various wrappers to emulate classical widgets. The cross platform parallel rendering engine Webrender, built for Servo and usable in Firefox Nightly, takes this latter approach and is multi-platform, but is more of a base for a GUI framework than one in itself.
Below are recent community links submitted to the site. If you're working on or writing about GUIs in Rust, please contribute! Each news entry can be a link back to your blog, Reddit thread, etc. See the README for details.
See more postsSelect a tag (or tags) below to only show relevant crates. All crates will be shown when no tags are selected.
Azul GUI is a free, functional, reactive GUI framework for rapid development of desktop applications written in Rust and C, using the Mozilla WebRender rendering engine.
Blinc application framework with clean layout and rendering API.
Rust bindings for AppKit (macOS/Airyx/GNUStep, beta) and UIKit (iOS/tvOS, alpha).
A wgpu-powered graphical user interface (GUI) library with a reactive data model.
CXX-Qt is a library that automatically generates code to transfer data between Rust and C++ through common interfaces such as QObjects that can be exposed directly into QML. It uses the cxx crate for safe interaction between Rust and C++.
Elegant React-like library for building user interfaces for desktop, web, mobile, SSR, liveview, and more.
Zero-cost ultra-high-performance declarative DOM library using FRP signals.
An easy-to-use immediate mode GUI that runs on both web and native.
UI library aiming to be extremely performant while providing world-class developer ergonomics. From the team that made the Lapce code editor.
The FLTK crate is a crossplatform lightweight gui library which can be linked to statically to produce small, self-contained and fast binaries.
Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
MVVM-oriented (properties, observable collections, bindings), ui! macro, multiplatform, renderer-agnostic, with styles.
A hybrid immediate and retained mode, GPU accelerated, UI framework, designed to support a wide variety of applications.
UNMAINTAINED Rust bindings for the GTK+ 3 library (use gtk4 instead).
A renderer-agnostic GUI library for Rust focused on simplicity and type-safety. Inspired by Elm.
A modern approach to stateful GUI: Rust-native, accessible, scalable.
Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.
LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
A user friendly data defined imediate mode Ui system. Define your menus in ron.
An app engine built on macroquad with immediate-mode API and simple commands for cross-platform support. It has accessibility, shaders, storage, flexbox-like layout, a debug view and more.
A framework empowering everyone to create Qt/QML applications with Rust. It does so by building QMetaObjects at compile time, registering QML types (optionally via exposing QQmlExtensionPlugins) and providing idiomatic wrappers.
Asynchronous, GTK+-based, GUI library, inspired by Elm, written in Rust.
An idiomatic GUI library inspired by Elm and based on gtk4-rs.
Ribir is a Rust GUI framework that helps you build beautiful and native multi-platform applications from a single codebase.
Rust for native business logic, Flutter for flexible and beautiful GUI.
Rosin is a GUI library that aims to be extremely easy to use.
Bindings to SDL3, a cross-platform library to abstract the platform-specific details for building applications.
Slint is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. It comes with a fast OpenGL renderer, a designer-friendly markup language and is written in Rust. Triple-licensed: GPLv3, Royalty-free, and Commercial.
Tauri is a framework for building tiny, blazing fast binaries for all major desktop platforms.
A cross-platform declarative & functional UI library for rust, focused on performance and extensibility.
High-level Rust binding for the tinyfiledialogs C library.
Undo/Redo in Rust using deltas, snapshots or commands with convenience implementations for many standard and third-party types.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。