awesome-rust/README.md
2023-05-21 11:28:04 +03:00

199 KiB
Raw Blame History

Awesome Rust build badge Track Awesome List

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.

  • alacritty — A cross-platform, GPU enhanced terminal emulator
  • Arti — An implementation of Tor, in Rust. (So far, it's a not-very-complete client. But watch this space!) Crates.io
  • asm-cli-rust — An interactive assembly shell written in rust.
  • broot A new way to see and navigate directory trees (get an overview of a directory, even a big one; find a directory then cd to it; never lose track of file hierarchy while you search; manipulate your files, ...), further reading dystroy.org/broot Latest Version
  • cloudflare/boringtun — A Userspace WireGuard VPN Implementation build badge
  • datafusion — Apache Arrow DataFusion and Ballista query engines
  • denoland/deno — A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio Build Status
  • FactotumA system to programmatically run data pipelines
  • fcsonline/drill — A HTTP load testing application inspired by Ansible syntax
  • fend - Arbitrary-precision unit-aware calculator build
  • Fractalide — Simple Rust Microservices
  • habitat — A tool created by Chef to build, deploy, and manage applications.
  • Herd — an experimental HTTP load testing application
  • innernet - An overlay or private mesh network that uses Wireguard under the hood
  • jedisct1/flowgger — A fast, simple and lightweight data collector
  • kalker - A scientific calculator that supports math-like syntax with user-defined variables, functions, derivation, integration, and complex numbers. Cross platform + WASM support Build Status
  • kytan — High Performance Peer-to-Peer VPN
  • linkerd/linkerd2-proxy — Ultralight service mesh for Kubernetes.
  • MaidSafe — A decentralized platform.
  • mdBook — A command line utility to create books from markdown files Build Status
  • nicohman/eidolon — A steam and drm-free game registry and launcher for linux and macosx
  • notty — A new kind of terminal
  • Pijul — A patch-based distributed version control system
  • rx — Vi inspired Modern Pixel Art Editor
  • Servo — A prototype web browser engine
  • shuttle — A serverless platform built for Rust
  • Sniffnet — Cross-platform application to monitor your network traffic with ease build badge crate
  • SWC — super-fast TypeScript / JavaScript compiler
  • tiny — A terminal IRC client
  • trust-dns — A DNS-server Build Status
  • wasmer — A safe and fast WebAssembly runtime supporting WASI and Emscripten Build Status
  • Weld — Full fake REST API generator
  • wezterm — A GPU-accelerated cross-platform terminal emulator and multiplexer
  • zellij — A terminal multiplexer (workspace) with batteries included

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.
  • figsoda/mmtc [mmtc] — Minimal mpd terminal client that aims to be simple yet highly configurable build-badge
  • Glicol — Graph-oriented live coding language written in Rust for collaborative musicking in browsers.
  • ncspot - Cross-platform ncurses Spotify client, inspired by ncmpc and the likes. build badge
  • Polaris — A music streaming application.
  • 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
  • WhatBPM — A daily statically generated information resource for electronic dance music producers. Provides daily analytics on the most frequently used values for each EDM genre: tempos, keys, root notes, and so on, using publicly available data such as Beatport and Spotify. Continuous Integration

Cryptocurrencies

  • beerus - Beerus is a trustless StarkNet Light Client, blazing fast and powered by Rust 🦀 GitHub Workflow Status
  • Bitcoin Satoshi's Vision [sv] — A Rust library for working with Bitcoin SV .
  • cairo - Cairo is the first Turing-complete language for creating provable programs for general computation. This is also the native language of StarkNet, a ZK-Rollup using STARK proofs GitHub Workflow Status
  • cairo-rs — Rust implementation of the Cairo VM rust
  • 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
  • Diem — Diems mission is to enable a simple global currency and financial infrastructure that empowers billions of people.
  • electrumrs — An efficient re-implementation of Electrum Server in Rust.
  • ethabi - Encode and decode smart contract invocations.
  • ethaddrgen — Custom Ethereum vanity address generator made in Rust
  • ethers-rs - Complete Ethereum & Celo library and wallet implementation in Rust. Build Status
  • etk - etk is a collection of tools for writing, reading, and analyzing EVM bytecode.
  • Forest - Rust Filecoin implementation Build Status
  • Foundry - Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. Build Status
  • Grin — Evolution of the MimbleWimble protocol
  • hdwallet [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. detect critical check failures
  • ibc-rs - Rust implementation of the Interblockchain Communication protocol
  • infincia/bip39-rs [bip39] — Rust implementation of BIP39.
  • interBTC — Trustless and fully decentralized Bitcoin bridge to Polkadot and Kusama.
  • Joystream — A user governed video platform
  • Lighthouse — Rust Ethereum Consensus Layer (CL) Client Build Status
  • madara - Kaioshin is a blazing fast Starknet sequencer, based on substrate and written in Rust 🦀. GitHub Workflow Status
  • mev-inspect-rs - Ethereum MEV Inspector in Rust
  • 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
  • opensea-rs - Rust bindings & CLI to the Opensea API and Contracts.
  • Parity-Bitcoin — The Parity Bitcoin client
  • Phala-Network/phala-blockchain — Confidential smart contract blockchain based on Intel SGX and Substrate
  • Polkadot — Heterogeneous multichain technology with pooled security
  • revm - Revolutionary Machine (revm) is a fast Ethereum virtual machine written in rust.
  • rust-bitcoin — Library with support for de/serialization, parsing and executing on data structures and network messages related to Bitcoin.
  • rust-lightning Crate — Bitcoin Lightning library written in Rust. The main crate,lightning, does not handle networking, persistence, or any other I/O. Thus,it is runtime-agnostic, but users must implement basic networking logic, chain interactions, and disk storage.po on linking crate.
  • sigma-rust — Rust implementation of ErgoTree interpreter and wallet-related features.
  • Solana — Incredibly fast, highly scalable blockchain using Proof-of-History.
  • Substrate — Generic modular blockchain template written in Rust
  • svm-rs - Solidity-Compiler Version Manager.
  • tendermint-rs - Rust implementation of Tendermint blockchain data structures and clients
  • wagyu [wagyu] — Rust library for generating cryptocurrency wallets
  • zcash — Zcash is an implementation of the "Zerocash" protocol.

Database

  • Atomic-Server [atomic-server] - NoSQL graph database with realtime updates, dynamic indexing and easy-to-use GUI for CMS purposes. Release
  • CozoDB - A transactional, relational database that uses Datalog and focuses on graph data and algorithms. Time-travel-capable, and fast! GitHub Workflow Status
  • Databend - A Modern Real-Time Data Processing & Analytics DBMS with Cloud-Native Architecture Release
  • DB3 Network — DB3 is a community-driven blockchain layer2 decentralized database network GitHub Workflow Status (with event)
  • indradb — Rust based graph database
  • Lucid — High performance and distributed KV store accessible through a HTTP API. Build Status
  • Materialize - Streaming SQL database powered by Timely Dataflow 💲 Build status
  • noria [noria] — Dynamically changing, partially-stateful data-flow for web application backends
  • ParityDB — Fast and reliable database, optimised for read operation
  • PumpkinDB — an event sourcing database engine
  • Qdrant - An open source vector similarity search engine with extended filtering support Tests
  • RisingWaveLabs/RisingWave - the next-generation streaming database in the cloud CI
  • seppo0010/rsedis — A Redis reimplementation in Rust
  • Skytable — A multi-model NoSQL database GitHub Workflow Status
  • sled — A (beta) modern embedded database Build Status
  • SurrealDB — A scalable, distributed, document-graph database Build Status
  • TerminusDB - open source graph database and document store Build Status
  • tikv — A distributed KV database in Rust Build Status
  • vorot93/libmdbx-rs [mdbx-sys] — Rust bindings for MDBX, a "fast, compact, powerful, embedded, transactional key-value database, with permissive license". This is a fork of mozilla/lmdb-rs with patches to make it work with libmdbx.
  • WooriDB - General purpose time serial database inspired by Crux and Datomic.

Emulators

See also crates matching keyword 'emulator'.

Games

See also Games Made With Piston.

Graphics

Image processing

Industrial automation

Observability

  • avito-tech/bioyino — A high-performance scalable StatsD compatible server.
  • 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
  • Quickwit-oss/quickwit - Cloud-native and highly cost-efficient search engine for log management. CI
  • Scaphandre - A power consumption monitoring agent, to track host and each service power consumption and enable designing systems and applications for more sustainability. Designed to fit any monitoring toolchain (already supports prometheus, warp10, riemann...).
  • vectordotdev/vector — A High-Performance, Logs, Metrics, & Events Router.

Operating systems

See also A comparison of operating systems written in Rust.

Payments

  • hyperswitch — An open source payments orchestrator that lets you connect with multiple payment processors and route payment traffic effortlessly, all with a single API integration GitHub last commit

Productivity

  • Bartib [Bartib] - A simple timetracker for the command line Tests
  • espanso — A cross-platform Text Expander written in RustCI
  • eureka — A CLI tool to input and store your ideas without leaving the terminal
  • illacloud/illa [ILLA Cloud] - Low-code internal tool builder written with Rust.
  • pier-cli/pier — A central repository to manage (add, search metadata, etc.) all your one-liners, scripts, tools, and CLIs

Security tools

  • AFLplusplus/LibAFL - Advanced Fuzzing Library - Slot your Fuzzer together in Rust! Scales across cores and machines. For Windows, Android, MacOS, Linux, no_std, etc. build and test
  • cargo-audit - Audit Cargo.lock for crates with security vulnerabilities
  • cargo-auditable - Make production Rust binaries auditable
  • cargo-crev - A cryptographically verifiable code review system for the cargo (Rust) package manager.
  • cargo-deny - Cargo plugin to help you manage large dependency graphs
  • Cherrybomb - Stop half-done API specifications with a CLI tool that helps you avoid undefined user behaviour by validating your API specifications.
  • epi052/feroxbuster - A simple, fast, recursive content discovery tool written in Rust (
  • Inspektor - A database protocol-aware proxy that is used to enforce access policies 👮
  • kpcyrd/authoscope — A scriptable network authentication cracker
  • kpcyrd/rshijack — A TCP connection hijacker, rust rewrite of shijack
  • kpcyrd/sn0int — A semi-automatic OSINT framework and package manager
  • kpcyrd/sniffglue — A secure multithreaded packet sniffer
  • ObserverWard — Community based web technologies analysis tool.
  • ripasso — A password manager, filesystem compatible with pass
  • rustscan/rustscan — Make Nmap faster with this port scanning tool build badge

Simulation

  • hEngine - A Rust-implemented computational simulation engine, supporting large-scale agent-based modelling, with simulation logic written in JavaScript and Python.

Social networks

  • Mastodon
    • Rustodon - A Mastodon-compatible, ActivityPub-speaking server in Rust

System tools

  • ajeetdsouza/zoxide — A fast alternative to cd that learns your habits release
  • Alonely0/Voila — Voila is a domain-specific language launched through CLI tool for operating with files and directories in massive amounts in a fast & reliable way. Linux build macOS build Windows build
  • bandwhich — Terminal bandwidth utilization tool
  • bottom - Yet another cross-platform graphical process/system monitor. GitHub Workflow Status (branch)
  • brocode/fblog — Small command-line JSON Log viewer
  • bustd - Lightweight process killer daemon to handle out-of-memory scenarios on Linux. GitHub Workflow Status (branch)
  • buster/rrun — A command launcher for Linux, similar to gmrun
  • cantino/mcfly - Fly through your shell history. Great Scott!
  • crabz - Multi-threaded compression and decompression CLI tool Build Status
  • cristianoliveira/funzzy — A configurable filesystem watcher inspired by entr
  • dalance/procs — A modern replacement for 'ps' written by Rust Regression
  • ddh — Fast duplicate file finder
  • diskonaut — Terminal visual disk space navigator
  • dust — A more intuitive version of du
  • fselect — Find files with SQL-like queries
  • gitui - Blazing fast terminal client for git written in Rust. build
  • j0ru/kickoff - Fast and snappy wayland program launcher build
  • Kondo - CLI & GUI tool for deleting software project artifacts and reclaiming disk space
  • lotabout/rargs [rargs] — xargs + awk with pattern matching support
  • lotabout/skim — A fuzzy finder in pure rust
  • lsd — An ls with a lot of pretty colors and awesome icons build
  • Luminarys/synapse — Flexible and fast BitTorrent daemon.
  • m4b/bingrep — Greps through binaries from various OSs and architectures, and colors them.
  • mitnk/cicada — A bash-like Unix shell
  • mmstick/concurr — Alternative to GNU Parallel w/ a client-server architecture
  • mmstick/fontfinder — GTK3 application for previewing and installing Google's fonts
  • mmstick/tv-renamer — A tv series renaming application with an optional GTK3 frontend.
  • mxseev/logram — Push log files' updates to Telegram
  • nickgerace/gfold [gfold] - CLI tool to help keep track of multiple Git repositories build
  • nivekuil/rip - A safe and ergonomic alternative to rm
  • nushell/nushell - A new type of shell
  • ogham/exa — A replacement for 'ls'
  • orhun/kmon — Linux Kernel Manager and Activity Monitor https://github.com/orhun/kmon/actions
  • orhun/systeroid — A more powerful alternative to sysctl(8) with a terminal user interface https://github.com/orhun/systeroid/actions
  • ouch - Painless compression and decompression on the command-line GitHub Workflow Status (branch)
  • pop-os/popsicle — GTK3 & CLI utility for flashing multiple USB devices in parallel
  • pop-os/system76-power — Linux power management daemon (DBus-interface) with CLI tool.
  • pueue — Manage your long running shell commands. GitHub Actions Workflow
  • qarmin/cakawka - Multi-functional app to find duplicates, empty folders, similar images, etc. GitHub Actions Workflow
  • redox-os/ion — Next-generation system shell
  • sharkdp/bat — A cat(1) clone with wings. CICD
  • sharkdp/fd — A simple, fast and user-friendly alternative to find. CICD
  • sitkevij/hex — A colorized hexdump terminal utility.
  • supercilex/fuc - Fast cp and rm commands
  • trippy - A network diagnostic tool build badge
  • uutils/coreutils — A cross-platform Rust rewrite of the GNU coreutils [CICD
  • watchexec — Executes commands in response to file modifications
  • XAMPPRocky/tokei — counts the lines of code

Task scheduling

  • delicate — A lightweight and distributed task scheduling platform written in rust. Build Status

Text editors

  • amp — Inspired by Vi/Vim.
  • emacs-ng — Complementing the C codebase with rust code to introduce new features.
  • gchp/iota — A simple text editor
  • helix — A post-modern modal text editor inspired by Neovim/Kakoune. build badge
  • ilai-deutel/kibi — A tiny (≤1024 LOC) text editor with syntax highlighting, incremental search and more. build badge
  • Lapce — A modern editor with a backend written in Rust. Taking inspiration from the discontinued xi-editor.
  • mathall/rim — Vim-like text editor written in Rust
  • ox — An independent Rust text editor that runs in your terminal!
  • vamolessa/pepper [pepper] — An opinionated modal editor to simplify code editing from the terminal build badge

Text processing

  • dominikwilkowski/cfonts [cfonts] — Sexy ANSI fonts for the console build badge
  • grex — A command-line tool and library for generating regular expressions from user-provided test cases
  • Lisprez/so_stupid_search — A simple and fast string search tool for human beings
  • Melody - A language that compiles to regular expressions and aims to be more easily readable and maintainable build badge crates.io
  • phiresky/ripgrep-all — ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
  • replicadse/complate — An in-terminal text templating tool designed for standardizing messages (like for GIT commits). crates.io crates.io build badge
  • ripgrep — combines the usability of The Silver Searcher with the raw speed of grep
  • ruplacer — Find and replace text in source files Run tests
  • sd — Intuitive find & replace CLI
  • sstadick/hck - A faster and more featureful drop in replacement for cut build badge
  • vishaltelangre/ff — Find files (ff) by name!
  • whitfin/bytelines [bytelines] — Read input lines as byte slices for high efficiency.
  • whitfin/runiq — an efficient way to filter duplicate lines from unsorted input.
  • xsv — A fast CSV command line tool (slicing, indexing, selecting, searching, sampling, etc.)

Utilities

  • 1History — Command line interface to backup Firefox/Chrome/Safari history to one SQLite file Build Status
  • brycx/checkpwn — A Have I Been Pwned (HIBP) command-line utility tool that lets you easily check for compromised accounts and passwords.
  • Epic Asset Manager — An unofficial client to install Unreal Engine, download and manage purchased assets, projects, plugins and games from the Epic Games Store.
  • evansmurithi/cloak — A Command Line OTP (One Time Password) Authenticator application. CI build badge
  • fcsonline/tmux-thumbs — A lightning fast version of tmux-fingers written in Rust, copy/pasting tmux like vimium/vimperator.
  • guoxbin/dtool — A useful command-line tool collection to assist development including conversion, codec, hashing, encryption, etc.
  • mprocs — TUI for running multiple processes
  • nix-community/nix-init — Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more build-badge
  • nix-community/nurl [nurl] — Generate Nix fetcher calls from repository URLs build-badge
  • nomino — Batch rename utility for developers
  • raftario/licensor — write licenses to stdout GitHub Actions
  • rustdesk/rustdesk — A remote desktop software, great alternative to TeamViewer and AnyDesk.
  • tversteeg/emplace — Synchronize installed packages on multiple machines
  • vamolessa/verco [verco] — A simple Git/Hg tui client focused on keyboard shortcuts
  • vaultwarden Build — Alternative implementation of the Bitwarden server API written in Rust
  • warpdotdev/Warp — Warp is a blazingly-fast modern Rust based GPU-accelerated terminal built to make you and your team more productive.
  • yaa110/cb — Command line interface to manage clipboard

Video

Virtualization

Web

  • cfal/tobaru - Port forwarder with allowlists, IP and TLS SNI/ALPN rule-based routing, iptables support, round-robin forwarding (load balancing), and hot reloading.
  • LemmyNet/lemmy — A link aggregator / reddit clone for the fediverse Build Status
  • libreddit - An alternative private front-end to Reddit
  • MASQ-Project/Node — MASQ Node software provides a decentralized mesh-network of nodes for global users to access normal internet content - next evolution of tech beyond Tor & VPN build badge
  • Plume-org/Plume — ActivityPub federating blogging application
  • Revolt/backend - User-first chat platform built with modern web technologies.

Web Servers

Development tools

  • bacon — background rust code checker, similar to cargo-watch
  • clippy — Rust lints
  • clog-tool/clog-cli — generates a changelog from git metadata (conventional changelog)
  • comtrya — A configuration management tool for localhost / dotfiles build badge
  • create-rust-app — Set up a modern rust+react web app by running one command. crate
  • dan-t/rusty-tags — create ctags/etags for a cargo project and all of its dependencies
  • datanymizer/datanymizer - Powerful database anonymizer with flexible rules build badge
  • delta — A syntax-highlighter for git and diff outputbuild badge
  • dotenv-linter — Linter for .env files build badge
  • fw — workspace productivity booster Rust
  • geiger — A program that list statistics related to usage of unsafe Rust code in a Rust crate and all its dependencies Build Status
  • git-cliff — A highly customizable Changelog Generator that follows Conventional Commit specifications https://github.com/orhun/git-cliff/actions
  • git-journal — The Git Commit Message and Changelog Generation Framework
  • hot-lib-reloader — Hot reload Rust code build badge
  • intelli-shell - Bookmark commands with placeholders and search or autocomplete at any time crate build badge
  • just — A handy command runner for project-specific tasks
  • 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
  • Racer — code completion for Rust
  • Rust Search Extension — A handy browser extension to search crates and docs in address bar (omnibox). Build Status
  • rust-lang/rustfix — automatically applies the suggestions made by rustc
  • Rustup — the Rust toolchain installer build badge
  • 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-all-features - A configurable subcommand to simplify testing, building and much more for all combinations of features CI
    • cargo-benchcmp — A utility to compare Rust micro-benchmarks
    • cargo-bitbake — A cargo extension that can generate BitBake recipes utilizing the classes from meta-rust
    • 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
    • cargo-commander — A subcommand for cargo to run CLI commands similar to how the scripts section in package.json works Build and test
    • cargo-count — lists source code counts and details about cargo projects, including unsafe statistics
    • cargo-deb — Generates binary Debian packages
    • cargo-deps — build dependency graphs of Rust projects
    • cargo-do — run multiple cargo commands in a row
    • cargo-ebuild — cargo extension that can generate ebuilds using the in-tree eclasses
    • cargo-edit — allows you to add and list dependencies by reading/writing to your Cargo.toml file from the command line
    • cargo-generate A generator of a rust project by leveraging a pre-existing git repository as a template.
    • cargo-graph — updated fork of cargo-dot with additional features. Unmaintained, see cargo-deps
    • cargo-info — queries crates.io for crates details from command line
    • cargo-license — A cargo subcommand to quickly view the licenses of all dependencies.
    • cargo-limit — Cargo with less noise: warnings are skipped until errors are fixed, Neovim integration, etc. 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.
    • cargo-multi — runs specified cargo command on multiple crates
    • cargo-outdated — displays when newer versions of Rust dependencies are available, or out of date
    • cargo-rdme [cargo-rdme] — Cargo subcommand to create your README from your crates documentation. build badge
    • cargo-release — tool for releasing git-managed cargo project, build, tag, publish, doc and push Rust
    • cargo-script — lets people quickly and easily run Rust "scripts" which can make use of Cargo's package ecosystem
    • cargo-udeps [cargo-udeps] — find unused dependencies
    • cargo-update — cargo subcommand for checking and applying updates to installed executables
    • cargo-watch — utility for cargo to compile projects when sources change
    • dtolnay/cargo-expand — Expand macros in your source code
  • CMake
  • Fleet [fleet-rs] - The blazing fast build tool for Rust.
  • Github actions
  • Nix

Debugging

Deployment

Embedded

Rust Embedded focuses on improving the end-to-end experience of using Rust in resource-constrained environments and non-traditional platforms. See awesome-embedded-rust for a curated, and more extended list of embedded Rust resources.

  • Arduino
  • Cross compiling
    • japaric/rust-cross — everything you need to know about cross compiling Rust programs
    • japaric/xargo — effortless cross compilation of Rust programs to custom bare-metal targets like ARM Cortex-M
  • Espressif
    • esp-rs home to a number of community projects enabling the use of the Rust programming language on various SoCs and modules produced by Espressif Systems.
  • nRF

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.

Formatters

  • dprint — A pluggable and configurable code formatting platform build badge
  • Prettier Rust — An opinionated Rust code formatter that autofixes bad syntax (Prettier community plugin)
  • rustfmt — Rust code formatter maintained by the Rust team and included in cargo

IDEs

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

Profiling

Services

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

Static analysis

[assert, static]

Testing

[test, testing]

  • Code Coverage
    • tarpaulin — A code coverage tool designed for Rust
  • Continuous Integration
    • 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
  • Frameworks and Runners
    • AlKass/polish — Mini Testing/Test-Driven Framework Crates Package Status
    • cargo-dinghy - A cargo extension to simplify running library tests and benches on smartphones and other small processor devices.
    • cucumber Latest Version — An implementation of the Cucumber testing framework for Rust. Fully native, no external test runners or dependencies. Build Status
    • demonstrate — Declarative Testing Framework Build Status
    • rstest — Fixture-based test framework for Rust Build Status
    • speculate — An RSpec inspired minimal testing framework for Rust
  • Mocking and Test Data
  • Mutation Testing
  • Property Testing and Fuzzing

Transpiling

  • BayesWitnesses/m2cgen — A CLI tool to transpile trained classic machine learning models into a native Rust code with zero dependencies. GitHub Actions Status
  • immunant/c2rust — C to Rust translator and cross checker built atop Clang/LLVM.
  • jameysharp/corrode — A C to Rust translator written in Haskell.

Libraries

  • perf-monitor-rs — A toolkit designed to be a foundation for applications to monitor their performance. crates.io

Artificial Intelligence

Genetic algorithms

  • innoave/genevo — Execute genetic algorithm (GA) simulations in a customizable and extensible way.
  • m-decoster/RsGenetic — Genetic Algorithm library in Rust. In maintenance mode.
  • 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.
  • 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.Crates.io
  • willi-kappler/darwin-rs — Evolutionary algorithms with Rust

Machine learning

See [Machine learning]

See also About Rusts Machine Learning Community and Are we learning yet?.

OpenAI

Astronomy

[astronomy]

Asynchronous

  • async-std [async-std] - Async version of the Rust standard library CI
  • dpc/mioco — Scalable, coroutine-based, asynchronous IO handling library
  • mio — MIO is a lightweight IO library for Rust with a focus on adding as little overhead as possible over the OS abstractions
  • rust-lang/futures-rs — Zero-cost futures in Rust
  • TeaEntityLab/fpRust — Monad/MonadIO, Handler, Coroutine/doNotation, Functional Programming features for Rust
  • Xudong-Huang/may — rust stackful coroutine library
  • zonyitoo/coio-rs — A coroutine I/O library with a working-stealing scheduler

Audio and Music

[audio]

Authentication

  • constantoine/totp-rs [totp-rs] — 2fa library to generate and verify TOTP-based tokens Build Status
  • Keats/jsonwebtokenJSON Web Token lib in rust
  • oauth2 — Extensible, strongly-typed Rust OAuth2 client library
  • 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
  • sgrust01/jwtvault — Async library to manage and orchestrate JWT workflow
  • yup-oauth2 — An oauth2 client implementation providing the Device, Installed and Service Account flows

Automotive

Bioinformatics

  • Rust-Bio — bioinformatics libraries in Rust.

Caching

Cloud

Command-line

Compression

Computation

Concurrency

Configuration

Cryptography

[crypto, cryptography]

Data processing

  • amv-dev/yata — high perfomance technical analysis library Build Status
  • bluss/ndarray — N-dimensional array with array views, multidimensional slicing, and efficient operations
  • kernelmachine/utah — Dataframe structure and operations in Rust
  • pola-rs/polars - Fast feature complete DataFrame library Build and test
  • weld-project/weld — High-performance runtime for data analytics applications

Data streaming

Data structures

Data visualization

Database

[database]

Date and time

[date, time]

Distributed systems

Domain driven design

Email

[email, imap, smtp]

Encoding

[encoding]

Filesystem

[filesystem]

Functional Programming

[functional programming]

Game development

See also Are we game yet?

Geospatial

[geo, gis]

Graph algorithms

Graphics

[graphics]

GUI

[gui]

Image processing

Language specification

  • shnewto/bnf — A library for parsing BackusNaur form context-free grammars.

Logging

[log]

  • estk/log4rs — highly configurable logging framework modeled after Java's Logback and log4j libraries CircleCI
  • jesusprubio/leg — Elegant print for lazy devs. Make your CLIs nicer with minimal effort. Build Status
  • rbatis/fast_log — Rust async log High-performance asynchronous logging
  • rust-lang/log — Logging implementation for Rust
  • seanmonstar/pretty-env-logger — A pretty, easy-to-use logger for Rust.
  • slog-rs/slog — Structured, composable logging for Rust
  • 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.
  • Linq-in-Rust - Macro and methods for C#-LINQ-like expressions. CI

Markup language

Mobile

Network programming

Parsing

Peripherals

Platform specific

Scripting

[scripting]

Simulation

[simulation]

  • nyx-space - High fidelity, fast, reliable and validated astrodynamical toolkit library, used for spacecraft mission design and orbit determination Build Status

System

Task scheduling

  • delay-timer — Time-manager of delayed tasks. Like crontab, but asynchronous tasks are possible. Build

Template engine

Text processing

Unsafe

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

Video

  • ffmpeg-sidecar — Wrap a standalone FFmpeg binary in an intuitive Iterator interface. Build Status

Virtualization

Web programming

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

  • Client-side / WASM
    • cargo-web — A Cargo subcommand for the client-side Web
    • leptos — Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.crate
    • sauron - Client side web framework which closely adheres to The Elm Architecture.
    • seed — A Rust framework for creating web apps
    • stdweb — A standard library for the client-side Web
    • yew — Rust framework for making client web apps
  • HTTP Client
  • HTTP Server
    • actix/actix-web — A lightweight async web framework for Rust with websocket support
    • Anansi — A simple full-stack web framework for Rust.
    • branca — A Pure Rust implementation of Branca for Authenticated and Encrypted API tokens.
    • carllerche/tower-web [tower-web] — A fast, boilerplate free, web framework for Rust
    • danclive/sincere — A micro web framework for Rust(stable) based on hyper and multithreading.
    • GildedHonour/frank_jwt — JSON Web Token implementation in Rust.
    • Gotham — A flexible web framework that does not sacrifice safety, security or speed.
    • Graphul — An Express-inspired web framework written in Rust. crate
    • handlebars-rust — an Iron web framework middleware.
    • hyperium/hyper — an HTTP implementation CI
    • Iron — A middleware-based server framework
    • Juniper — GraphQL server library for Rust
    • miketang84/sapper — A lightweight web framework built on async hyper, implemented in Rust language.
    • Nickel — inspired by Express
    • Ogeon/rustful — A RESTful web framework for Rust
    • poem-web/poem - A full-featured and easy-to-use web framework with the Rust programming language. CI
    • Rocket — Rocket is web framework for Rust (nightly) with a focus on ease-of-use, expressability, and speed
    • Rustless — A REST-like API micro-framework inspired by Grape and Hyper
    • Salvo — an easy to use webframework base on hyper and tokio. build build
    • Saphir — A progressive web framework with low-level control, without the pain.
    • seanmonstar/warp — A super-easy, composable, web server framework for warp speeds. crate
    • tiny-http — Low level HTTP server library
    • tokio/axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper Build badge
    • tomaka/rouille — Web framework in Rust
  • Miscellaneous
    • cargonauts — A web framework intended for building maintainable, well-factored web apps.
    • causal-agent/scraper [scraper] - HTML parsing and querying with CSS selectors. Build Status
    • hominee/dyer [dyer] - dyer is designed for reliable, flexible and fast Request-Response based service, including data processing, web-crawling and so on, providing some friendly, flexible, comprehensive features without compromising speed.
    • juhaku/utoipa - Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust crates.io Utoipa build
    • osohq/oso [oso] - A policy engine for authorization that's embedded in your application. Build Status
    • pwoolcoc/soup [soup] — A library similar to Python's BeautifulSoup, designed to enable quick and easy manipulation and querying of HTML documents. Build Status
    • pyrossh/rust-embed — A macro to embed static assets into the rust binary
    • serenity-rs/serenity [serenity] - A Rust library for the Discord API
    • softprops/openapi — A library for processing openapi spec files
    • svix/svix-webhooks [svix]- A library for sending webhooks and verifying signatures.
    • tbot [tbot] - Make cool Telegram bots with Rust easily pipeline status
    • teloxide/teloxide - An elegant Telegram bots framework for Rust Build Status
    • utkarshkukreti/select.rs [select] — A library to extract useful data from HTML documents, suitable for web scraping.
  • Reverse Proxy
  • Static Site Generators
  • WebSocket

Registries

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

  • 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.
  • Crates — The official public registry for Rust/Cargo.
  • w4/chartered - A private, authenticated, permissioned Cargo registry CI

Resources

License

CC0