是否原创:0 %

0 % Complete (success)

是否有价值:0 %

0% Complete

是否有素质:0 %

0% Complete (warning)

是否合法:0 %

0% Complete

Rust has a very lively and fast-paced open source ecosystem, with a ton of contributors working on a ton of awesome projects.


And if you are asking – what can I build in Rust? The answer is almost everything.


This article will feature some of the open-source Rust libraries, frameworks, and repositories that could be useful to study or use for your own project.


For your convenience, I’ve split them into fields such as web development, game development, blockchain, and others. Let’s dig in!


Web development frameworks for Rust



Can you build a web app with Rust? Definitely!


Rust has multiple extremely fast web frameworks – Rocket, Actix Web, and Yew – and you can use the one that matches your needs and preferences.

Rust拥有多个极其快速的web框架——Rocket、Actix Web以及Yew——你可以根据自己的需求和偏好自行选择。

Rocket 框架


Rocket is the most accessible web framework in the Rust ecosystem for beginners. It is highly customizable and helps you kickstart a new application quickly. At the same time, it avoids a lot of unnecessary boilerplate. Rocket also has many features included, which means that you won’t need to go far from the framework to build everything you need.


In contrast to Actix Web, the framework runs on nightly Rust – the “experimental” version of the language.

与Actix Web相比,该框架在所谓的nightly Rust上运行——这是该语言的“实验”版本。

Actix Web 框架


Actix Web is usually thought to be more performant and stable than Rocket. Underneath, it works with the actor model used in Erlang and Akka.

人们通常认为Actix Web比Rocket性能更好、更加稳定。在底层,它与Erlang和Akka中使用的actor模型一同工作。

In contrast to Rocket, it’s less “batteries included”, meaning that you will most likely need to use third-party libraries for extra functionality.


Yew 框架


Yew is a Rust framework for creating web apps with WebAssembly. Among its main benefits, it lists a component-based framework like in React and Elm, outstanding performance because of the multi-thread support, and JavaScript interoperability.

Yew 是一个Rust框架,用于通过WebAssembly创建web应用。它的主要优点是,它列出了一个基于组件的框架——这和React与Elm是一样的;由于多线程支持,它具有出色的性能;以及JavaScript的互操作性。

As of now, it is not production-ready but should be an excellent choice for side projects and internal tooling, especially if you want to work with WASM.


If you need something quick and simple to serve a static website, Zola is a fantastic tool to create fast and scalable web pages without any other dependencies or JS bloat.




Warp is a web server framework written in Rust. In comparison to Rocket and Actix, it is rather slim for a web framework and will provide you only with basic functionality out of the box.


Game development


Rust is exceptional for game development for the same reason that C++ is: it is predictably performant. Here are some of the engines you can use to build your own Rust game.




Two of the main Rust game engines are Bevy and Amethyst. Among them, Bevy is the newer and cooler one. It is a simple, data-driven engine and can essentially be called Amethyst 2.0 since it is heavily inspired by it.

Rust的两个主要的游戏引擎分别是Bevy和Amethyst。其中,Bevy 更新,也更酷。它是一个简单的数据驱动的引擎,本质上可以被称为Amethyst 2.0,因为它很大程度上受到了后者的启发。

For more info on Bevy, you can check out the Bevy book.

欲知更多关于Bevy的信息,你可以参看Bevy 手册。



Amethyst is the more mature one of the two and, because of that, has more features that you might need for a large-scale project and better integrations with 3rd party libraries. But, Bevy is catching up fast. If you are searching for an engine for your new project, I’d recommend looking at them both and seeing which one you like better.




If you are searching for something simple to start off, ggez is a lightweight cross-platform game framework for making 2D games with minimal friction.


If you want to read more on game development in Rust, check out Are we game yet?


Operating systems


Rust is an excellent alternative to C in operating system development since it offers the same level of performance while taking care of memory safety. Actually, developers are investigating the possibility of adding Rust to the Linux kernel, and Microsoft is experimenting with it as well.


Here are some open-source operating systems that are written purely in Rust:




Redox is an operating system written in Rust that uses Rust’s innovations to build a modern microkernel.




intermezzOS is a teaching operating system, specifically focused on introducing systems programming concepts to experienced developers from other programming areas.




Theseus is a new OS written in Rust that presents a novel OS structure and claims to avoid the phenomenon of state spill, a thing that occurs when one entity’s state is permanently changed through interactions with another.

Theseus 是一个用Rust编写的新操作系统,它提出了一个新的操作系统结构,并声称可以避免状态溢出现象——即一个实体的状态通过与另一个实体的交互而永久改变。

There’s quite a lot to read about – here’s a paper on the project.

这方面还有很多东西可以读,详情请参看这篇文章 。

GUI development


While Rust isn’t well known for its capability for building captivating user interfaces, there’s still a lot of good libraries to build GUIs with.




Druid is an experimental Rust-native UI toolkit with a focus on building simple, polished user experiences. It is data-oriented and inspired by modern frameworks such as Flutter, SwiftUI, and others.

Druid 是一个实验性的Rust原生UI工具包,专注于构建简单、精致的用户体验。它是面向数据的,并受到了Flutter、SwiftUI等现代框架的启发。

To learn more about it, you can check out the Druid book.

如欲了解更多,请参看Druid 手册。



Iced is a cross-platform GUI library with a focus on simplicity and type safety. It’s heavily inspired by Elm. While it is still experimental right now, it is an excellent option for creating GUIs right in Rust for your side project.


The Orbital Widget Toolkit


The Orbital Widget Toolkit is a cross-platform toolkit for building scalable user interfaces with Rust. It’s focused on speed, ease of use, and cross-platform compatibility.




Tauri is a framework for building desktop applications for Windows, Linux, and macOS. With it, you can use any front-end framework that compiles to HTML/CSS/JS for building UIs, and Rust as the backend.

Tauri 是用于为Windows、Linux和macOS构建桌面应用的框架。有了它,你就可以使用任何可以编译成HTML/CSS/JS来构建用户界面的前端框架,并将Rust作为后端。

If you want to learn more about GUI development possibilities in Rust, here’s a big post that covers most of the libraries.





The main goal of OpenEthereum is to be the fastest, lightest, and most secure Ethereum client. It is developed with Rust and claims to provide core infrastructure that is essential for speedy and reliable services.

Open以太坊 的主要目标是成为最快、最轻、最安全的以太坊客户端。它是用Rust开发的,并声称提供了对快速可靠服务至关重要的核心基础设施。



Lighthouse is an open-source Ethereum 2.0 client, written in Rust and maintained by Sigma Prime.

Lighthouse 是一个开源以太坊2.0客户端,是用Rust编写的,由Sigma Prime维护。

Parity Technologies: Polkadot and Substrate


Parity Technologies works on building blockchain infrastructure for the decentralized web.


Among its projects are Substrate, a modular framework for blockchain development, and Polkadot, a network of blockchains. Both of these projects heavily use Rust in their implementations.


Other projects


Here are some of the projects that don’t fit into any given category. Hope you can find something awesome in this collection of “things”. :)




Servo is a web engine prototype written in Rust. It’s the result of Mozilla’s work on creating a new, open-source browser engine. In 2020, Servo moved on from Mozilla to being hosted by the Linux Foundation.

Servo 是一个用Rust编写的web引擎原型。Mozilla致力于创建一个新的开源浏览器引擎,而Servo就是其努力的成果。2020年,Servo从Mozilla转向Linux基金会托管。

Servo is supposed to be safer than the browsers written in C++ due to Rust’s memory safety guarantees that reduce the number of vulnerabilities.

Servo 被认为比用C++编写的浏览器更安全,因为Rust的内存安全保证能够减少漏洞数量。



swc is a superfast JavaScript/TypeScript compiler. In comparison to Babel, it has been benchmarked to increase the compilation speed at least 18 times.

swc 是一个超快的JavaScript/TypeScript编译器。与Babel相比,它的编译速度至少提高了18倍。


Want to run all the cool Flash games that Adobe has recently disabled support for? You can use Ruffle, a Flash player emulator written in Rust.


You can try it out on ruffle.rs.




Lunatic is an experimental platform that uses WASM instances as actors to structure execution. It is heavily inspired by Erlang.

Lunatic 是一个实验平台,它使用WASM实例作为参与者来构建执行。它很大程度上受到了Erlang的启发。

It is supposed to unite the good sides of WASM and Erlang, enabling you to build actor-based systems that are both fault-tolerant and blazingly fast.




Starship is a fast, customizable, and intelligent prompt for those that want to make their shell cooler.

Starship 是一个快速的、可定制的智能提示符,适合那些希望自己的外壳更酷的人。



MeiliSearch is a powerful, fast, easy to use, and customizable search engine that’s also typo-tolerant. Now that’s a lot of adjectives! You can set it up for your own project instead of a custom and probably worse-performing solution.

MeiliSearch 是一个强大、快速、易于、可定制、具有容错性的搜索引擎。这可真是一大堆形容词啊!你可以在项目里用它,而不是转投定制的,而且可能性能更差的解决方案。