/awesome-rust

A curated list of Rust code and resources.

Primary LanguageRustCreative Commons Zero v1.0 UniversalCC0-1.0

Awesome Rust build badge

A curated list of Rust code and resources.

If you want to contribute, please read this.

Table of contents

Applications

See also Rust — Production organizations running Rust in production.

Audio and Music

  • enginesound — A GUI and command line application used to procedurally generate semi-realistic engine sounds. Featuring in-depth configuration, variable sample rate and a frequency analysis window.
  • indiscipline/zrtstr — A command line utility for checking if stereo wav files are faux-stereo (i.e. have identical channels) and converting such files to mono. build badge
  • Lyriek — A multi-threaded GTK 3 application for fetching the lyrics of the current playing song. build badge
  • Polaris — A music streaming application. build badge
  • Spotify TUI — A Spotify client for the terminal written in Rust. Continuous Integration
  • Spotifyd — An open source Spotify client running as a UNIX daemon. Continuous Integration

Cryptocurrencies

  • Bitcoin Satoshi's Vision — A Rust library for working with Bitcoin SV .
  • cardano-cli — Cardano Command Line Interface (CLI)
  • ChainX — Fully Decentralized Interchain Crypto Asset Management on Polkadot.
  • CITA — A high performance blockchain kernel for enterprise users.
  • coinbase-pro-rs — Coinbase pro client in Rust, supports sync/async/websocket build badge
  • ethaddrgen — Custom Ethereum vanity address generator made in Rust build badge
  • Grin — Evolution of the MimbleWimble protocol
  • hdwallet — BIP-32 HD wallet related key derivation utilities.
  • Holochain — Scalable P2P alternative to blockchain for all those distributed apps you always wanted to build Build Status
  • ibc-rs - Rust implementation of the Interblockchain Communication protocol
  • infincia/bip39-rs — Rust implementation of BIP39.
  • Joystream — A user governed video platform Build Status
  • Diem — Diem’s mission is to enable a simple global currency and financial infrastructure that empowers billions of people.
  • Lighthouse — Rust Ethereum 2.0 Client Build Status
  • near/nearcore — decentralized smart-contract platform for low-end mobile devices.
  • Nervos CKB — Nervos CKB is a public permissionless blockchain, the common knowledge layer of Nervos network.
  • Nimiq — Rust implementation of Nimiq node Build Status
  • Parity-Bitcoin — The Parity Bitcoin client build badge
  • Parity-Bridge — Bridge between any two ethereum-based networks
  • Parity-Ethereum — Fast, light, and robust Ethereum client
  • Parity-Zcash — Rust implementation of the Zcash protocol
  • Polkadot — Heterogeneous multi‑chain technology with pooled security
  • rbtc — Convert BTC to any currency and vice-versa. Build Status
  • rust-cardano — Rust implementation of Cardano primitives, helpers, and related applications
  • Substrate — Generic modular blockchain template written in Rust
  • tendermint-rs - Rust implementation of Tendermint blockchain data structures and clients
  • wagyu [wagyu] — Rust library for generating cryptocurrency wallets build badge
  • zcash — Zcash is an implementation of the "Zerocash" protocol.
  • YeeCo yeeroot — YeeCo yeeroot is a permissionless, secure, high performance and scalable public blockchain platform powered by full sharding technology on PoW consensus written in Rust

Database

  • indradb — Rust based graph database build badge
  • Materialize - Streaming SQL database powered by Timely Dataflow 💲 Build status
  • noria — Dynamically changing, partially-stateful data-flow for web application backends build badge
  • Lucid — High performance and distributed KV store accessible through a HTTP API. Build Status
  • ParityDB — Fast and reliable database, optimised for read operation
  • PumpkinDB — an event sourcing database engine build badge
  • seppo0010/rsedis — A Redis reimplementation in Rust build badge
  • TerrabaseDB — A multi-model NoSQL database GitHub Workflow Status
  • tikv — A distributed KV database in Rust build badge
  • sled — A (beta) modern embedded database Build Status

Emulators

See also crates matching keyword 'emulator'.

Games

See also Games Made With Piston.

Graphics

Industrial automation

Observability

  • timberio/vector — A High-Performance, Logs, Metrics, & Events Router.
  • Mnwa/gtsa — A simple solution to proxy gelf messages (messages for Graylog) to Sentry
  • OpenTelemetry — OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using Prometheus, Jaeger, and other observability tools. GitHub Actions CI

Operating systems

See also A comparison of operating systems written in Rust.

Productivity

  • espanso — A cross-platform Text Expander written in Rust Build Status
  • eureka — A CLI tool to input and store your ideas without leaving the terminal
  • pier-cli/pier — A central repository to manage (add, search metadata, etc.) all your one-liners, scripts, tools, and CLIs build badge
  • subilo - A continuous deployment agent Build Status

Security tools

System tools

  • ajeetdsouza/zoxide — A fast alternative to cd that learns your habits release
  • bandwhich — Terminal bandwidth utilization tool build badge
  • brocode/fblog — Small command-line JSON Log viewer build badge
  • buster/rrun — A command launcher for Linux, similar to gmrun build badge
  • cristianoliveira/funzzy — A configurable filesystem watcher inspired by entr build badge
  • dalance/procs — A modern replacement for 'ps' written by Rust Build Status
  • diskonaut — Terminal visual disk space navigator build badge
  • dust — A more intuitive version of du
  • ddh — Fast duplicate file finder build badge
  • fselect — Find files with SQL-like queries build badge
  • gitui - Blazing fast terminal client for git written in Rust. build
  • k0pernicus/zou — A download accelerator
  • Kondo - CLI & GUI tool for deleting software project artifacts and reclaiming disk space
  • lotabout/rargs [rargs] — xargs + awk with pattern matching support build badge
  • lotabout/skim — A fuzzy finder in pure rust build badge
  • mitnk/cicada — A bash-like Unix shell build badge
  • mmstick/concurr — Alternative to GNU Parallel w/ a client-server architecture
  • mmstick/fontfinder — GTK3 application for previewing and installing Google's fonts
  • mmstick/parallel — Reimplementation of GNU Parallel
  • mmstick/tv-renamer — A tv series renaming application with an optional GTK3 frontend. build badge
  • organize-rt — Organize files based on regex rules (file extensions by default). pipeline status
  • orhun/kmon — Linux Kernel Manager and Activity Monitor https://github.com/orhun/kmon/actions
  • Peltoche/lsd — An ls with a lot of pretty colors and awesome icons build badge
  • ogham/exa — A replacement for 'ls' build badge
  • pop-os/debrep — APT repository tool for building and managing an APT repo
  • pop-os/popsicle — GTK3 & CLI utility for flashing multiple USB devices in parallel
  • pueue — Manage your long running shell commands. GitHub Actions Workflow
  • Luminarys/synapse — Flexible and fast BitTorrent daemon. Build Status
  • pop-os/system76-power — Linux power management daemon (DBus-interface) with CLI tool.
  • mxseev/logram — Push log files' updates to Telegram
  • redox-os/ion — Next-generation system shell build badge
  • unwrittenfun/hotkey-rs — A library to listen to global hotkeys in Rust
  • nivekuil/rip - A safe and ergonomic alternative to rm build badge
  • sharkdp/bat — A cat(1) clone with wings. build badge
  • sharkdp/fd — A simple, fast and user-friendly alternative to find. Build Status
  • sitkevij/hex — A colorized hexdump terminal utility. build badge
  • slai11/goto — A simple and user-friendly way to jump to your indexed directories. GitHub Workflow Status
  • m4b/bingrep — Greps through binaries from various OSs and architectures, and colors them. build badge
  • uutils/coreutils — A cross-platform Rust rewrite of the GNU coreutils build badge
  • watchexec — Executes commands in response to file modifications build badge
  • XAMPPRocky/tokei — counts the lines of code build badge
  • yake — Yake is a task runner based on yaml files build badge
  • ytop - A TUI system monitor written in Rust Build status

Text editors

  • amp — Inspired by Vi/Vim. build badge
  • gchp/iota — A simple text editor build badge
  • ilai-deutel/kibi — A tiny (≤1024 LOC) text editor with syntax highlighting, incremental search and more. build badge
  • mathall/rim — Vim-like text editor written in Rust
  • ox — An independent Rust text editor that runs in your terminal!
  • Remacs — A community-driven port of Emacs to Rust. build badge
  • xi-editor — A modern editor with a backend written in Rust.
  • xray — An experimental next-generation Electron-based text editor. build badge

Text processing

  • cpc - Parses and calculates strings of math with support for units and unit conversion, from 1+2 to 1% of round(1 lightyear / 14!s to km/h).
  • grex — A command-line tool and library for generating regular expressions from user-provided test cases build badge
  • TankerHQ/ruplacer — Find and replace text in source files build badge
  • ripgrep — combines the usability of The Silver Searcher with the raw speed of grep build badge
  • phiresky/ripgrep-all — ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc. Build Status
  • replicadse/complate — An in-terminal text templating tool designed for standardizing messages (like for GIT commits). crates.io crates.io build badge
  • sd — Intuitive find & replace CLI
  • lavifb/todo_r — Find all your TODO notes with one command! build badge
  • whitfin/runiq — an efficient way to filter duplicate lines from unsorted input.
  • whitfin/bytelines — Read input lines as byte slices for high efficiency.
  • vishaltelangre/ff — Find files (ff) by name! build badge
  • xsv — A fast CSV command line tool (slicing, indexing, selecting, searching, sampling, etc.) build badge
  • Lisprez/so_stupid_search — A simple and fast string search tool for human beings

Image processing

  • Imager — Automated image optimization.

Utilities

Video

  • tgotwig/vidmerger — A wrapper around ffmpeg which simplifies merging multiple videos 🎞
  • xiph/rav1e — The fastest and safest AV1 encoder. build badge
  • yuvadm/slingr — A simple CLI for streaming media files over a local network to UPnP media renderers build badge
  • yuvadm/streamlib — Play your favorite live video and audio streams from command line

Virtualization

Web

Web Servers

  • mufeedvh/binserve — A blazingly fast static web server with routing, templating, and security in a single binary you can set up with zero code build badge
  • thecoshman/http — Host These Things Please — A basic http server for hosting a folder fast and simply build badge
  • svenstaro/miniserve — A small, self-contained cross-platform CLI tool that allows you to just grab the binary and serve some file(s) via HTTP build badge
  • TheWaWaR/simple-http-server — simple static http server
  • wyhaya/see — Static HTTP file server Build Status
  • ronanyeah/rust-hasura — A demonstration of how a Rust GraphQL server can be used as a remote schema with Hasura Rust

Development tools

  • clippy — Rust lints build badge
  • clog-tool/clog-cli — generates a changelog from git metadata (conventional changelog) build badge
  • dan-t/rusty-tags — create ctags/etags for a cargo project and all of its dependencies build badge
  • delta — A syntax-highlighter for git and diff output build badge
  • dotenv-linter — Linter for .env files build badge
  • frewsxcv/crate-deps — generates images of dependency graphs for crates hosted on crates.io
  • geiger — A program that list statistics related to usage of unsafe Rust code in a Rust crate and all its dependencies Build Status
  • git-journal — The Git Commit Message and Changelog Generation Framework build badge
  • gstats — command line tool to print a developer handy summary of all git repositories below current directory
  • rust-lang/rustfix — automatically applies the suggestions made by rustc
  • just — A handy command runner for project-specific tasks build badge
  • mask — A CLI task runner defined by a simple markdown file build badge
  • Module Linker — Extension that adds <a> links to references in mod, use and extern crate statements at GitHub.
  • ptags — A parallel universal-ctags wrapper for git repository Build Status
  • Racer — code completion for Rust build badge
  • rustfmt — A Rust code formatter build badge
  • Rustup — the Rust toolchain installer build badge
  • Rust Language Server — A server that runs in the background, providing IDEs, editors, and other tools with information about Rust programs
  • Rust Regex Playground — Web tool to evaluate rust regular expressions
  • Rust Search Extension — A handy browser extension to search crates and docs in address bar (omnibox). Build Status
  • artifact — the design doc tool made for developers Build Status
  • semantic-rs — automatic crate publishing build badge
  • fw — workspace productivity booster build badge
  • tinyrick a basic task dependency tool emphasizing Rust functions over raw shell commands.
  • scriptisto A language-agnostic "shebang interpreter" that enables you to write one file scripts in compiled languages. Build Status

Build system

  • Cargo — the Rust package manager
    • cargo-benchcmp — A utility to compare Rust micro-benchmarks build badge
    • cargo-bitbake — A cargo extension that can generate BitBake recipes utilizing the classes from meta-rust build badge
    • cargo-cache — inspect/manage/clean your cargo cache (~/.cargo//${CARGO_HOME}), print sizes etc Build Status
    • cargo-check — A wrapper around cargo rustc -- -Zno-trans which can be helpful for running a faster compile if you only need correctness checks build badge
    • cargo-count — lists source code counts and details about cargo projects, including unsafe statistics build badge
    • cargo-deb — Generates binary Debian packages build badge
    • cargo-deps — build dependency graphs of Rust projects build badge
    • cargo-do — run multiple cargo commands in a row build badge
    • cargo-ebuild — cargo extension that can generate ebuilds using the in-tree eclasses build badge
    • cargo-edit — allows you to add and list dependencies by reading/writing to your Cargo.toml file from the command line build badge
    • cargo-generate A generator of a rust project by leveraging a pre-existing git repository as a template.
    • cargo-get - Cargo plugin to easily query information from Cargo.toml files GitHub Workflow Status
    • cargo-graph — updated fork of cargo-dot with additional features. Unmaintained, see cargo-deps build badge
    • cargo-info — queries crates.io for crates details from command line build badge
    • cargo-license — A cargo subcommand to quickly view the licenses of all dependencies. build badge
    • cargo-make — Rust task runner and build tool. build badge
    • cargo-modules — A cargo plugin for showing a tree-like overview of a crate's modules. build badge
    • cargo-multi — runs specified cargo command on multiple crates build badge
    • cargo-outdated — displays when newer versions of Rust dependencies are available, or out of date build badge
    • cargo-release — tool for releasing git-managed cargo project, build, tag, publish, doc and push build badge
    • cargo-script — lets people quickly and easily run Rust "scripts" which can make use of Cargo's package ecosystem build badge
    • cargo-testify — watches files changes, runs tests and notifies about the result with friendly OS notification build badge
    • cargo-tree – Cargo subcommand that visualizes a crate's dependency graph in a tree-like format CircleCI
    • cargo-update — cargo subcommand for checking and applying updates to installed executables build badge
    • cargo-watch — utility for cargo to compile projects when sources change build badge
    • liuchong/cargo-x — A very simple third-party cargo subcommand to execute a custom command build badge
    • dtolnay/cargo-expand — Expand macros in your source code
  • CMake
  • Github actions
  • GitHub webhooks
    • snare — GitHub webhooks runner daemon
  • Webpack

Debugging

Deployment

Embedded

Rust Embedded

  • Cross compiling
    • japaric/rust-cross — everything you need to know about cross compiling Rust programs build badge
    • japaric/xargo — effortless cross compilation of Rust programs to custom bare-metal targets like ARM Cortex-M build badge
  • Raspberry Pi
  • Arduino

FFI

See also Foreign Function Interface, The Rust FFI Omnibus (a collection of examples of using code written in Rust from other languages) and FFI examples written in Rust.

IDEs

See also Are we (I)DE yet? and Rust Tools.

Pattern recognition

  • sfikas/rusteval — A tool used to evaluate the output of retrieval algorithms Build Status

Profiling

Services

  • deps.rs — Detect outdated or insecure dependencies
  • docs.rs — Automatic documentation generation of crates

Static analysis

[assert, static]

Testing

[testing]

  • laboratory — A simple, expressive unit test framework for Rust build
  • cucumber-rust — An implementation of the Cucumber testing framework for Rust. Build Status
  • demonstrate — Declarative Testing Framework Build Status
  • httpmock — HTTP mocking build badge
  • mockiato — A strict, yet friendly mocking library for Rust 2018 build badge
  • mutagen — A source-level mutation testing framework (nightly only) build badge
  • AlKass/polish — Mini Testing/Test-Driven Framework Build Status Crates Package Status
  • proptest — property testing framework inspired by the Hypothesis framework for Python build badge
  • quickcheck — A Rust implementation of QuickCheck build badge
  • mockito — HTTP mocking build badge
  • speculate — An RSpec inspired minimal testing framework for Rust
  • rstest — Fixture-based test framework for Rust Build Status
  • ruspec — Write like Rspec testing framework with rust Build Status
  • rust-fuzz/afl.rs — A Rust fuzzer, using AFL build badge
  • tarpaulin — A code coverage tool designed for Rust build badge
  • trust — A Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
  • fake-rs — A library for generating fake data build badge
  • goldenfile - A library providing a simple API for goldenfile testing. build badge

Transpiling

Libraries

Artificial Intelligence

Genetic algorithms

  • Martin1887/oxigen — Fast, parallel, extensible and adaptable genetic algorithm library. A example using this library solves the N Queens problem for N = 255 in only few seconds and using less than 1 MB of RAM.
  • innoave/genevo — Execute genetic algorithm (GA) simulations in a customizable and extensible way.
  • willi-kappler/darwin-rs — Evolutionary algorithms with Rust Build Status
  • m-decoster/RsGenetic — Genetic Algorithm library in Rust. In maintenance mode.
  • mneumann/evo-rs — Evolutionary Algorithm Library for Rust. Without changes for 3 years.
  • yurytsoy/revonet — Rust implementation of real-coded GA for solving optimization problems and training of neural networks.
  • pkalivas/radiate — A customizable parallel genetic programming engine capable of evolving solutions for supervised, unsupervised, and reinforcement learning problems. Comes with complete and customizable implementation of NEAT and Evtree. Build Status Crates.io

Machine learning

[machine learning]

See also About Rust’s Machine Learning Community.

Astronomy

[astronomy]

Asynchronous

Audio and Music

[audio]

Authentication

  • Keats/jsonwebtokenJSON Web Token lib in rust Build Status
  • sgrust01/jwtvault — Async library to manage and orchestrate JWT workflow Build Status
  • oauth2 — Extensible, strongly-typed Rust OAuth2 client library Build Status
  • oxide-auth — A OAuth2 server library, for use in combination with actix or other frontends, featuring a set of configurable and pluggable backends Build Status
  • yup-oauth2 — An oauth2 client implementation providing the Device, Installed and Service Account flows Build Status

Automotive

Bioinformatics

  • Rust-Bio — bioinformatics libraries in Rust.

Caching

Concurrency

Cloud

Command-line

Compression

Computation

Configuration

Cryptography

[crypto, cryptography]

Database

[database]

Data processing

Data structures

Data visualization

Date and time

[date, time]

Distributed systems

Email

[email, imap, smtp]

Encoding

[encoding]

Filesystem

[filesystem]

Functional Programming

[functional programming]

Game development

See also Are we game yet?

Geospatial

[geo, gis]

Graphics

[graphics]

Graph processing

GUI

[gui]

Image processing

Language specification

  • shnewto/bnf — A library for parsing Backus–Naur form context-free grammars. build badge

Logging

[log]

  • seanmonstar/pretty-env-logger — A pretty, easy-to-use logger for Rust. Build Status
  • rust-lang/log — Logging implementation for Rust Build Status
  • slog-rs/slog — Structured, composable logging for Rust Build Status
  • estk/log4rs — highly configurable logging framework modeled after Java's Logback and log4j libraries CircleCI
  • tokio-rs/tracing — An application level tracing framework for async-aware structured logging, error handling, metrics, and more Build Status

Macro

  • cute
    • mattgathu/cute — Macro for Python-esque list comprehensions in Rust. Build Status
  • hado
    • ludat/hado-rs — A little macro for writing haskell-like do expressions without too much ceremony
  • Linq-in-Rust - Macro and methods for C#-LINQ-like expressions. CI

Markup language

Mobile

Geal/rust_on_mobile

  • Android
  • iOS
    • TimNN/cargo-lipo — A cargo lipo subcommand which automatically creates a universal library for use with your iOS application. build badge
    • vhbit/ObjCrust — using Rust to create an iOS static library
  • Pebble
    • andars/pebble.rs — A crate that allows Rust to be used to develop Pebble applications.
  • Android / iOS
    • i-schuetz/rust_android_ios — An example of using a shared Rust lib for Android and iOS using rust-swig and cbindgen respectively.

Network programming

Parsing

Packaging formats

Peripherals

Platform specific

Scripting

[scripting]

Simulation

[simulation]

  • bigbang - Gravitational and collisional n-body simulation with optional GPU acceleration build badge
  • nyx-space - High fidelity, fast, reliable and validated astrodynamical toolkit library, used for spacecraft mission design and orbit determination Build Status

Template engine

Text processing

Text search

Unsafe

  • zerocopy — Utilities for safely reinterpreting arbitrary byte sequences as native Rust types

Virtualization

Web programming

See also Are we web yet? and Rust web framework comparison.

Registries

A registry allows you to publish your Rust libraries as crate packages, to share them with others publicly and privately.

  • Crates — The official public registry for Rust/Cargo.
  • Cloudsmith 💲 — A fully managed package management SaaS, with first-class support for public and private Cargo/Rust registries (plus many others). Has a generous free-tier and is also completely free for open-source.

Resources

License

CC0