results | ||
src | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
Cargo.lock | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
LICENSE.txt | ||
README.md |
Awesome Rust
A curated list of Rust code and resources.
If you want to contribute, please read this.
Table of contents
- Applications
- Development tools
- Libraries
- Artificial Intelligence
- Astronomy
- Asynchronous
- Audio and Music
- Authentication
- Automotive
- Bioinformatics
- Caching
- Concurrency
- Cloud
- Command-line
- Compression
- Computation
- Configuration
- Cryptography
- Database
- Data processing
- Data structures
- Data visualization
- Date and time
- Distributed systems
- Encoding
- Filesystem
- Functional Programming
- Game development
- Geospatial
- Graphics
- Graph processing
- GUI
- Image processing
- Language specification
- Logging
- Macro
- Markup language
- Mobile
- Network programming
- Parsing
- Packaging formats
- Peripherals
- Platform specific
- Scripting
- Simulation
- Template engine
- Text processing
- Text search
- Unsafe
- Virtualization
- Web programming
- Registries
- Resources
- License
Applications
See also Rust — Production organizations running Rust in production.
- alacritty — A cross-platform, GPU enhanced terminal emulator
- AnderEnder/s3find-rs — A command line utility to walk an Amazon S3 hierarchy, an analog of find for Amazon S3
- andschwa/rust-genetic-algorithm — A genetic algorithm for academic benchmark problems
- asm-cli-rust — An interactive assembly shell written in rust.
- ballista — PoC of distributed compute platform using Rust, Apache Arrow, and Kubernetes!
- cloudflare/boringtun — A Userspace WireGuard VPN Implementation
- darrint/device-blocker — Limit screen time to children's various mobile devices by blocking internet access on the family Wifi router.
- denoland/deno — A secure JavaScript/TypeScript runtime built with V8, Rust, and Tokio
- dlecan/generic-dns-update — A tool to update DNS zonefiles with your IP address
- Factotum — A system to programmatically run data pipelines
- fcsonline/drill — A HTTP load testing application inspired by Ansible syntax
- Fractalide — Simple Rust Microservices
- habitat — An tool created by Chef to build, deploy, and manage applications.
- Herd — an experimental HTTP load testing application
- intecture/api — an API-driven server management and configuration tool
- ivanceras/diwata — A database administration tool for postgresql
- jedisct1/flowgger — A fast, simple and lightweight data collector
- kbknapp/docli — A command line utility for managing DigitalOcean infrastructure
- kytan — High Performance Peer-to-Peer VPN
- limonite — static blog/website generator
- linkerd/linkerd2-proxy — Ultralight service mesh for Kubernetes.
- MaidSafe — A decentralized platform.
- mdBook — A command line utility to create books from markdown files
- 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
- rsign — A simple command-line tool used to generate/sign/verify digital signatures designed to be compatible with Minisign
- Rudr — A Kubernetes implementation of the Open Application Model specification
- rx — Vi inspired Modern Pixel Art Editor
- Sandstorm Collections App
- Servo — A prototype web browser engine
- tiny — A terminal IRC client
- trust-dns — A DNS-server
- updns — DNS proxy tool
- Weld — Full fake REST API generator
- wezterm — A GPU-accelerated cross-platform terminal emulator and multiplexer
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.
- Polaris — A music streaming application.
- Spotify TUI — A Spotify client for the terminal written in Rust.
- Spotifyd — An open source Spotify client running as a UNIX daemon.
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
- ethaddrgen — Custom Ethereum vanity address generator made in Rust
- 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
- ibc-rs - Rust implementation of the Interblockchain Communication protocol
- infincia/bip39-rs — Rust implementation of BIP39.
- Joystream — A user governed video platform
- Libra — Libra’s mission is to enable a simple global currency and financial infrastructure that empowers billions of people.
- Lighthouse — Rust Ethereum 2.0 Client
- nearprotocol/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
- Parity-Bitcoin — The Parity Bitcoin client
- 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.
- 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
- 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
- noria — Dynamically changing, partially-stateful data-flow for web application backends
- Lucid — High performance and distributed KV store accessible through a HTTP API.
- ParityDB — Fast and reliable database, optimised for read operation
- PumpkinDB — an event sourcing database engine
- seppo0010/rsedis — A Redis reimplementation in Rust
- tikv — A distributed KV database in Rust
Emulators
See also crates matching keyword 'emulator'.
- Commodore 64
- Flash Player
- Ruffle — Ruffle is an Adobe Flash Player emulator written in the Rust programming language. Ruffle targets both the desktop and the web using WebAssembly.
- Gameboy
- Gekkio/mooneye-gb —
- mvdnes/rboy —
- NivenT/RGB —
- mohanson/gameboy — Full featured Cross-platform GameBoy emulator. Forever boys!.
- Gameboy Advance
- michelhe/rustboyadvance-ng - RustboyAdvance-ng is a Gameboy Advance emulator with desktop, android and WebAssembly support.
- NES
- Playstation
- rustation-ng — Playstation emulator using Rust
- ZX Spectrum
- pacmancoder/rustzx —
- rodrigorc/raze — For WebAssembly, live version here
- Virtual Boy
- Intel 8080 CPU
- mohanson/i8080 — Intel 8080 cpu emulator by Rust
- Emulator Development tools
- SNES
- ioncodes/snesutilities — ROM analyser/extractor
- SNES
Games
See also Games Made With Piston.
- lifthrasiir/angolmois-rust — A minimalistic music video game which supports the BMS format
- citybound — The city sim you deserve
- schulke-214/connect-four — A simple connect four implementation.
- rsaarelm/magog — A roguelike game in Rust
- schulke-214/rsnake — Snake written in Rust.
- soydos — A wasm implementation of Pusoy Dos
- cristicbz/rust-doom — A renderer for Doom, may progress to being a playable game
- Thinkofname/rust-quake — Quake map renderer in Rust
- rhex — hexagonal ascii roguelike
- garkimasera/rusted-ruins — Extensible open world rogue like game with pixel art
- Veloren — An open world, open source multiplayer voxel RPG game currently in alpha development
- swatteau/sokoban-rs — A Sokoban implementation
- aleshaleksey/TGWM — An RPG with turned-based mechanics (work in progress)
- ozkriff/zemeroth — A small 2D turn-based hexagonal strategy game
- Zone of Control — A turn-based hexagonal strategy game
- KostasKyriakou/snake_game - Simple terminal snake game written in Rust.
Graphics
- Limeth/euclider — A real-time 4D CPU ray tracer
- RazrFalcon/resvg — An SVG rendering library.
- ivanceras/svgbob — converts ASCII diagrams into SVG graphics
- RazrFalcon/svgcleaner — tidies SVG graphics
- Twinklebear/tray_rust — A ray tracer
- turnage/valora — A library for generative fine art
- Image processing:
- mikigraf/Image-Processing-CLI-in-Rust — CLI for processing images, generating histograms.
Industrial automation
- locka99/opcua — A pure rust OPC UA library.
- slowtec/tokio-modbus — A tokio-based modbus library.
- BiancoRoyal/modbus-iiot-rust — A pure rust modbus library with no or less dependencies.
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.
Operating systems
See also A comparison of operating systems written in Rust.
- nebulet/nebulet — A microkernel that implements a WebAssembly "usermode" that runs in Ring 0.
- redox-os/redox —
- thepowersgang/rust_os —
- tock/tock — A secure embedded operating system for Cortex-M based microcontrollers
Productivity
- espanso — A cross-platform Text Expander written in Rust
- 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
Security tools
- kpcyrd/badtouch — A scriptable network authentication cracker
- arvancloud/libinjection-rs — Rust bindings for libinjection
- ripasso — A password manager, filesystem compatible with pass
- kpcyrd/rshijack — A TCP connection hijacker, rust rewrite of shijack
- kpcyrd/sniffglue — A secure multithreaded packet sniffer
- kpcyrd/sn0int — A semi-automatic OSINT framework and package manager
- phra/rustbuster — A Comprehensive Web Fuzzer and Content Discovery Tool
System tools
- ajeetdsouza/zoxide — A fast alternative to
cd
that learns your habits - bandwhich — Terminal bandwidth utilization tool
- brocode/fblog — Small command-line JSON Log viewer
- buster/rrun — A command launcher for Linux, similar to gmrun
- cristianoliveira/funzzy — A configurable filesystem watcher inspired by entr
- dalance/procs — A modern replacement for 'ps' written by Rust
- diskonaut — Terminal visual disk space navigator
- dust — A more intuitive version of du
- ddh — Fast duplicate file finder
- fselect — Find files with SQL-like queries
- 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
- lotabout/skim — A fuzzy finder in pure rust
- 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/parallel — Reimplementation of GNU Parallel
- mmstick/tv-renamer — A tv series renaming application with an optional GTK3 frontend.
- organize-rt — Organize files based on regex rules (file extensions by default).
- orhun/kmon — Linux Kernel Manager and Activity Monitor
- Peltoche/lsd — An ls with a lot of pretty colors and awesome icons
- ogham/exa — A replacement for 'ls'
- 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
- Luminarys/synapse — Flexible and fast BitTorrent daemon.
- pop-os/system76-power — Linux power management daemon (DBus-interface) with CLI tool.
- Ralvke/logram — Push log files' updates to Telegram
- redox-os/ion — Next-generation system shell
- unwrittenfun/hotkey-rs — A library to listen to global hotkeys in Rust
- sharkdp/bat — A cat(1) clone with wings.
- sharkdp/fd — A simple, fast and user-friendly alternative to find.
- sitkevij/hex — A colorized hexdump terminal utility.
- slai11/goto — A simple and user-friendly way to jump to your indexed directories.
- m4b/bingrep — Greps through binaries from various OSs and architectures, and colors them.
- uutils/coreutils — A cross-platform Rust rewrite of the GNU coreutils
- watchexec — Executes commands in response to file modifications
- XAMPPRocky/tokei — counts the lines of code
- ytop - A TUI system monitor written in Rust
Text editors
- amp — Inspired by Vi/Vim.
- gchp/iota — A simple text editor
- ilai-deutel/kibi — A tiny (≤1024 LOC) text editor with syntax highlighting, incremental search and more.
- mathall/rim — Vim-like text editor written in Rust
- Remacs — A community-driven port of Emacs to Rust.
- xi-editor — A modern editor with a backend written in Rust.
- xray — An experimental next-generation Electron-based text editor.
Text processing
- grex — A command-line tool and library for generating regular expressions from user-provided test cases
- TankerHQ/ruplacer — Find and replace text in source files
- ripgrep — combines the usability of The Silver Searcher with the raw speed of grep
- phiresky/ripgrep-all — ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
- sd — Intuitive find & replace CLI
- lavifb/todo_r — Find all your TODO notes with one command!
- 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!
- xsv — A fast CSV command line tool (slicing, indexing, selecting, searching, sampling, etc.)
- Lisprez/so_stupid_search — A simple and fast string search tool for human beings
Image processing
- Imager — Automated image optimization.
Utilities
- aleshaleksey/AZDice — A dice roll success distribution generator for tabletop homebrewers.
- yaa110/cb — Command line interface to manage clipboard
- brycx/checkpwn — A Have I Been Pwned (HIBP) command-line utility tool that lets you easily check for compromised accounts and passwords.
- evansmurithi/cloak — A Command Line OTP (One Time Password) Authenticator application.
- arthrp/consoletimer — Simple timer for your terminal.
- tversteeg/emplace — Synchronize installed packages on multiple machines
- myfreeweb/freepass — The free password manager for power users.
- raftario/licensor — write licenses to stdout
- arthrp/quick-skeleton — Project scaffolding tool, similar to Yeoman and Slush.
- repoch — Convert epoch to datetime and datetime to epoch
- whitfin/s3-concat — A command line tool to concatenate Amazon S3 files remotely using flexible patterns.
- whitfin/s3-meta — A command line tool to gather metadata about your Amazon S3 buckets.
- whitfin/s3-utils — A small tool containing utilities based around Amazon S3 to provide additional convenience APIs.
- gorros/s3-edit-rs — A command line tool to edit a file directly on Amazon S3.
- fcsonline/tmux-thumbs — A lightning fast version of tmux-fingers written in Rust, copy/pasting tmux like vimium/vimperator.
- amar-laksh/workstation — A commandline tool to help you manage your workstation by distancing you from your screen, locking your screen when you aren't there among other things with OPENCV!
- guoxbin/dtool — A useful command-line tool collection to assist development including conversion, codec, hashing, encryption, etc.
- nomino — Batch rename utility for developers
- barberousse — AWS Secrets Manager editor
Video
- tgotwig/vidmerger — A wrapper around ffmpeg which simplifies merging multiple videos 🎞
- xiph/rav1e — The fastest and safest AV1 encoder.
- yuvadm/slingr — A simple CLI for streaming media files over a local network to UPnP media renderers
- yuvadm/streamlib — Play your favorite live video and audio streams from command line
Virtualization
- firecracker-microvm/firecracker — A lightweight virtual machine for container workload Firecracker Microvm
- oracle/railcar — Docker-like container OCI runtime implementation in Rust
- tailhook/vagga — A containerization tool without daemons
Web
- Plume-org/Plume — ActivityPub federating blogging application
- LemmyNet/lemmy — A link aggregator / reddit clone for the fediverse
Web Servers
- thecoshman/http — Host These Things Please — A basic http server for hosting a folder fast and simply
- 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
- TheWaWaR/simple-http-server — simple static http server
- wyhaya/see — Static HTTP file server
Development tools
- clippy — Rust lints
- clog-tool/clog-cli — generates a changelog from git metadata (conventional changelog)
- dan-t/rusty-tags — create ctags/etags for a cargo project and all of its dependencies
- delta — A syntax-highlighter for git and diff output
- dotenv-linter — Linter for
.env
files - frewsxcv/crate-deps — generates images of dependency graphs for crates hosted on crates.io
- git-journal — The Git Commit Message and Changelog Generation Framework
- 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
- mask — A CLI task runner defined by a simple markdown file
- Module Linker — Extension that adds
<a>
links to references inmod
,use
andextern crate
statements at GitHub. - ptags — A parallel universal-ctags wrapper for git repository
- Racer — code completion for Rust
- rustfmt — A Rust code formatter
- Rustup — the Rust toolchain installer
- 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).
- artifact — the design doc tool made for developers
- semantic-rs — automatic crate publishing
- fw — workspace productivity booster
- 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 system
- Cargo — the Rust package manager
- 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 - 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-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-find deprecated — Find crates from 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, seecargo-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-make — Rust task runner and build tool.
- 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-release — tool for releasing git-managed cargo project, build, tag, publish, doc and push
- cargo-script — lets people quickly and easily run Rust "scripts" which can make use of Cargo's package ecosystem
- cargo-testify — watches files changes, runs tests and notifies about the result with friendly OS notification
- cargo-tree – Cargo subcommand that visualizes a crate's dependency graph in a tree-like format
- cargo-update — cargo subcommand for checking and applying updates to installed executables
- cargo-watch — utility for cargo to compile projects when sources change
- liuchong/cargo-x — A very simple third-party cargo subcommand to execute a custom command
- dtolnay/cargo-expand — Expand macros in your source code
- CMake
- Devolutions/CMakeRust — useful for integrating a Rust library into a CMake project
- SiegeLord/RustCMake — an example project showing usage of CMake with Rust
- Github actions
- icepuma/rust-action — rust github action
- peaceiris/actions-mdbook — GitHub Actions for mdBook
- GitHub webhooks
- snare — GitHub webhooks runner daemon
- Webpack
- Ralvke/rust-loader — Webpack Rust loader (wasm)
Debugging
- GDB
- LLDB
- lldb_batchmode.py — allows to use LLDB in a way similar to GDB's batch mode.
- CodeLLDB — A LLDB extension for Visual Studio Code.
- rr
- rr — rr is a lightweight tool for recording and replaying execution of applications
Deployment
- Docker
- emk/rust-musl-builder — Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries
- kpcyrd/mini-docker-rust — An example project for very small rust docker images
- liuchong/docker-rustup — A multiple version (with musl tools) Rust Docker image
- messense/rust-musl-cross — Docker images for compiling static Rust binaries using musl-cross
- rust-lang-nursery/docker-rust — the official Rust Docker image
- Google App Engine
- DenisKolodin/rust-app-engine — App Engine Rust boilerplate
- Heroku
- emk/heroku-buildpack-rust — A buildpack for Rust applications on Heroku
Embedded
- 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
- Raspberry Pi
- Ogeon/rust-on-raspberry-pi — instructions for how to cross compile Rust projects for the Raspberry Pi .
- Arduino
- avr-rust/ruduino ^`^t Reusable components for the Arduino Uno.
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.
- C
- rlhunt/cbindgen — generates C header files from Rust source files. Used in Gecko for WebRender
- Sean1708/rusty-cheddar — generates C header files from Rust source files
- C++
- rust-lang/rust-bindgen — A Rust bindings generator
- dtolnay/cxx — Safe interop between Rust and C++
- rust-cpp - Embed C++ code directly in Rust.
- Erlang
- rusterlium/rustler — safe Rust bridge for creating Erlang NIF functions
- Haskell
- mgattozzi/curryrs — Bridge the gap between Haskell and Rust
- mgattozzi/haskellrs — Rust in Haskell FFI Example
- mgattozzi/rushs — Haskell in Rust FFI Example
- Java
- j4rs — use Java from Rust
- bennettanderson/rjni — use Java from Rust
- drrb/java-rust-example — use Rust from Java
- jni — use Rust from Java
- jni-sys — Rust definitions corresponding to jni.h
- rucaja — use Java from Rust
- rawrafox/rust-jdbc — uses JDBC from Rust
- Lua
- jcmoyer/rust-lua53 — Lua 5.3 bindings for Rust
- lilyball/rust-lua — Safe Rust bindings to Lua 5.1
- tickbh/td_rlua — Zero-cost high-level lua 5.3 wrapper for Rust
- tomaka/hlua — Rust library to interface with Lua
- mruby
- anima-engine/mrusty — mruby safe bindings for Rust
- Node.js
- neon-bindings/neon — Rust bindings for writing safe and fast native Node.js modules
- infinyon/node-bindgen - Easy way to generate nodejs module using Rust
- Objective-C
- SSheldon/rust-objc — Objective-C Runtime bindings and wrapper for Rust
- Perl
- vickenty/mi-rust — Adds support to M::I for building modules with Cargo
- vickenty/perl-xs — Create Perl XS modules using Rust
- Python
- getsentry/milksnake — extension for python setuptools that allows you to distribute dynamic linked libraries in Python wheels in the most portable way imaginable.
- dgrunwald/rust-cpython — Python bindings
- PyO3/PyO3 — Rust bindings for the Python interpreter
- Ruby
- d-unseductable/ruru — native Ruby extensions written in Rust
- danielpclark/rutie — native Ruby extensions written in Rust and vice versa
- tildeio/helix — write Ruby classes in Rust
- Web Assembly
- rustwasm/wasm-pack — 📦 ✨ pack up the wasm and publish it to npm!
- rustwasm/wasm-bindgen — A project for facilitating high-level interactions between wasm modules and JS.
- rhysd/wain - wain: WebAssembly INterpreter from scratch in Safe Rust with zero dependency
IDEs
See also Are we (I)DE yet? and Rust Tools.
- Atom
- zargony/atom-language-rust
- rust-lang/atom-ide-rust — Rust IDE support for Atom, powered by the Rust Language Server (RLS)
- Eclipse
- Emacs
- rust-mode — Rust Major Mode
- flycheck-rust — Rust support for Flycheck
- emacs-racer — Autocompletion (see also company and auto-complete)
- lsp-rust — Add rls support to lsp-mode
- gitpod.io — Online IDE with full Rust support based on Rust Language Server
- gnome-builder native support for rust and cargo since Version 3.22.2
- Kakoune
- ul/kak-lsp — LSP client. Implemented in Rust and supports rls out of the box.
- NetBeans
- IntelliJ
- intellij-rust/intellij-rust —
- intellij-rust/intellij-toml — basic Toml support
- Ride —
- SolidOak — A simple IDE for Rust, based on GTK+ and Neovim
- Sublime Text
- rust-lang/rust-enhanced — official Rust package
- sublimehq/packages — native Sublime support (already installed)
- Vim — the ubiquitous text editor
- rust.vim — provides file detection, syntax highlighting, formatting, Syntastic integration, and more.
- vim-cargo — command bindings to quickly run cargo stuff from vim.
- vim-racer — allows vim to use Racer for Rust code completion and navigation.
- autozimu/LanguageClient-neovim — LSP client. Implemented in Rust and supports rls out of the box.
- Visual Studio
- PistonDevelopers/VisualRust — A Visual Studio extension for Rust
- dgriffen/rls-vs2017 — Rust support for Visual Studio 2017 Preview
- Visual Studio Code
- rust-lang/rls-vscode — Rust support for Visual Studio Code
- rust-analyzer — An alternative rust language server to the RLS
- CodeLLDB — A LLDB extension
- crates — crates is an extension for crates.io dependencies.
Pattern recognition
- sfikas/rusteval — A tool used to evaluate the output of retrieval algorithms
Profiling
- bheisler/criterion.rs — Statistics-driven benchmarking library for Rust
- sharkdp/hyperfine — A command-line benchmarking tool
- performancecopilot/hornet — A Performance Co-Pilot memory-mapped values instrumentation library
- koute/memory-profiler — A memory profiler for Linux
- ellisonch/rust-stopwatch — A stopwatch library
- FlameGraphs
- mrhooray/torch — generates FlameGraphs based on DWARF Debug Info
- llogiq/flame —
Services
- deps.rs — Detect outdated or insecure dependencies
- docs.rs — Automatic documentation generation of crates
Static analysis
- facebookexperimental/MIRAI — an abstract interpreter operating on Rust's mid-level intermediate representation (MIR)
- static_assertions — Compile-time assertions to ensure that invariants are met
Testing
[testing]
- mockiato — A strict, yet friendly mocking library for Rust 2018
- mutagen — A source-level mutation testing framework (nightly only)
- AlKass/polish — Mini Testing/Test-Driven Framework
- proptest — property testing framework inspired by the Hypothesis framework for Python
- quickcheck — A Rust implementation of QuickCheck
- mockito — HTTP mocking
- speculate — An RSpec inspired minimal testing framework for Rust
- rust-fuzz/afl.rs — A Rust fuzzer, using AFL
- tarpaulin — A code coverage tool designed for Rust
- 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
- goldenfile - A library providing a simple API for goldenfile testing.
Transpiling
- immunant/c2rust — C to Rust translator and cross checker built atop Clang/LLVM.
- jameysharp/corrode — A C to Rust translator written in Haskell.
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
- 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.
Machine learning
See also About Rust’s Machine Learning Community.
- AtheMathmo/rusty-machine — Machine learning library for Rust
- avinashshenoy97/RusticSOM — Rust library for Self Organising Maps (SOM).
- autumnai/leaf — Open Machine Intelligence framework. . Abandoned project. The most updated fork is spearow/juice.
- tensorflow/rust — Rust language bindings for TensorFlow.
- maciejkula/rustlearn — Machine learning crate for Rust.
- LaurentMazare/tch-rs — Rust language bindings for PyTorch.
- huggingface/tokenizers - Hugging Face's tokenizers for modern NLP pipelines written in Rust (original implementation) with bindings for Python.
Astronomy
- saurvs/astro-rust — astronomy for Rust
- fitsio — fits interface library wrapping cfitsio
- flosse/rust-sun — A rust port of the JS library suncalc
Asynchronous
- zonyitoo/coio-rs — A coroutine I/O library with a working-stealing scheduler
- dpc/mioco — Scalable, coroutine-based, asynchronous IO handling library
- TeaEntityLab/fpRust — Monad/MonadIO, Handler, Coroutine/doNotation, Functional Programming features for Rust
- rust-lang/futures-rs — Zero-cost futures in Rust
- mio — MIO is a lightweight IO library for Rust with a focus on adding as little overhead as possible over the OS abstractions
- Xudong-Huang/may — rust stackful coroutine library
- rustasync/runtime — A runtime agnostic API designed to make async feel like its part of stdlib
Audio and Music
[audio]
- GuillaumeGomez/rust-fmod — FMOD bindings
- jhasse/ears — A simple library to play Sounds and Musics, on top of OpenAL and libsndfile
- jpernst/alto — OpenAL 1.1 bindings
- musitdev/portmidi-rs — PortMidi bindings
- hound — A WAV encoding and decoding library
- RustAudio
- RustAudio/cpal - Low-level cross-platform audio I/O library in pure Rust.
- RustAudio/rodio — A Rust audio playback library
- RustAudio/rust-portaudio — PortAudio bindings
- ozankasikci/rust-music-theory — A Rust music theory library
Authentication
- Keats/jsonwebtoken — JSON Web Token lib in rust
- sgrust01/jwtvault — Async library to manage and orchestrate JWT workflow
- 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
- yup-oauth2 — An oauth2 client implementation providing the Device, Installed and Service Account flows
Automotive
- canparse — A CAN signal and definition parser
- j2534 — J2534 PassThru bindings
- JulianSchmid/dlt_parse — Rust DLT (Diagnostic Log and Trace) packet parser
- JulianSchmid/someip_parse [someip_parse] — A library for parsing the SOME/IP network protocol (without payload interpretation)
- LibreTuner/tuneutils [tuneutils] — Utilities for interfacing with, diagnosing, and tuning car
- marcelbuesing/can-dbc [can-dbc] — A parser for the DBC format
- marcelbuesing/tokio-socketcan-bcm [tokio-socketcan-bcm] — Linux SocketCAN BCM support for tokio
- mbr/socketcan [socketcan] — Linux SocketCAN library
- oefd/tokio-socketcan [tokio-socketcan]] — Linux SocketCAN support for tokio based on the socketcan crate
- Sensirion/lin-bus [lin-bus] — LIN bus driver traits and protocol implementation
Bioinformatics
- Rust-Bio — bioinformatics libraries in Rust.
Caching
- jaysonsantos/bmemcached-rs — Memcached library written in pure rust
- jaemk/cached — Simple function caching/memoization
- aisk/rust-memcache — Memcached client library
Concurrency
- aymanmadkour/glock – Granular locking crate for Rust.
- crossbeam-rs/crossbeam – Support for parallelism and low-level concurrency in Rust
- orium/archery [archery] — Library to abstract from
Rc
/Arc
pointer types. - pop-os/bus-writer — Generic single-reader, multi-writer
- Rayon – A data parallelism library for Rust
- rustcc/coroutine-rs – Coroutine Library in Rust
- zonyitoo/coio-rs – Coroutine I/O for Rust
Cloud
- AWS [aws]
Command-line
- Argument parsing
- clap-rs [clap] — A simple to use, full featured command-line argument parser
- docopt/docopt.rs [docopt] — A Rust implementation of DocOpt
- TeXitoi/structopt [structopt] — parse command line argument by defining a struct
- killercup/quicli [quicli] — quickly build cool CLI apps in Rust
- ksk001100/seahorse [seahorse] — A minimal CLI framework written in Rust
- Data visualization
- reugn/rspark [rspark] — ▁▂▆▇▁▄█▁ Sparklines for Rust apps
- Human-centered design
- rust-cli/human-panic [human-panic] — panic messages for humans
- Line editor
- srijs/rust-copperline [copperline] — pure-Rust command line editing library
- MovingtoMars/liner [liner] — A library offering readline-like functionality
- murarth/linefeed [linefeed] — Configurable, extensible, interactive line reader
- kkawakam/rustyline [rustyline] — readline implementation in Rust
- Pipeline
- imp/pager-rs [pager] — pipe your output through an external pager
- hniksic/rust-subprocess [subprocess] — facilities for interaction with external pipelines
- oconnor663/duct.rs [duct] — A builder for subprocess pipelines and IO redirection
- philippkeller/rexpect [rexpect] — automate interactive applications such as ssh, ftp, passwd, etc
- Progress
- mitsuhiko/indicatif [indicatif] — indicate progress to users
- a8m/pb [pbr] — console progress bar for Rust
- FGRibreau/spinners [spinners] — 60+ elegant terminal spinners
- Prompt
- hashmismatch/terminal_cli.rs [terminal_cli] — build an interactive command prompt
- starship/starship [starship] — A minimal, blazing fast, and extremely customizable prompt for any shell
- Style
- ogham/rust-ansi-term [ansi_term] — control colours and formatting on ANSI terminals
- LukasKalbertodt/term-painter [term-painter] — cross-platform styled terminal output
- vitiral/termstyle [termstyle] — build (and test) formatted and styled command line applications
- SergioBenitez/yansi [yansi] — A dead simple ANSI terminal color painting library
- mackwic/colored [colored] — Coloring terminal so simple, you already know how to do it!
- TUI
- TimonPost/crossterm [crossterm] — crossplatform terminal library
- gyscos/Cursive [cursive] — build rich TUI applications
- ogham/rust-term-grid [term_grid] — Rust library for putting things in a grid
- redox-os/termion [termion] — bindless library for controlling terminals/TTY
- fdehau/tui-rs [tui] — A TUI library inspired by blessed-contrib and termui
- BearLibTerminal
- cfyzium/bearlibterminal [bear-lib-terminal] — BearLibTerminal bindings
- ncurses
- jeaye/ncurses-rs [ncurses] — ncurses bindings
- ihalila/pancurses [pancurses] — curses library, supports linux and windows
- Termbox
- gchp/rustbox [rustbox] — bindings to Termbox
- ivanceras/titik - a crossplatform TUI widget library with the goal of providing interactive widgets
Compression
- Brotli
- ende76/brotli-rs — implementation of Brotli compression
- dropbox/rust-brotli — Brotli decompressor in Rust that optionally avoids the stdlib
- bzip2
- alexcrichton/bzip2-rs — libbz2 bindings
- Columnar compression
- velvia/compressed-vec - SIMD Floating point and integer compressed vector library
- gzip
- carols10cents/zopfli — implementation of the Zopfli compression algorithm for higher quality deflate or zlib compression
- miniz
- alexcrichton/flate2-rs — miniz bindings
- snappy
- JeffBelgum/rust-snappy — snappy bindings
- tar
- alexcrichton/tar-rs — tar archive reading/writing in Rust
- zip
- mvdnes/zip-rs — read and write ZIP archives
Computation
- argmin-rs/argmin [argmin] — A pure Rust optimization library
- BLAS [blas]
- mikkyang/rust-blas — BLAS bindings
- stainless-steel/blas — BLAS bindings
- Conjugate Gradient
- noshu/cg-sys — Rust binding of fortran CG+ subroutine
- GMP
- fizyk20/rust-gmp — libgmp bindings
- GSL
- GuillaumeGomez/rust-GSL — GSL bindings
- LAPACK
- stainless-steel/lapack — LAPACK bindings
- L-BFGS-B
- noshu/lbfgsb-sys — Rust binding of fortran L-BFGS-B subroutine
- rustsim/nalgebra — low-dimensional linear algebra library
- Parallel
- arrayfire/arrayfire-rust — Arrayfire bindings
- autumnai/collenchyma — An extensible, pluggable, backend-agnostic framework for parallel, high-performance computations on CUDA, OpenCL and common host CPU.
- luqmana/rust-opencl — OpenCL bindings
- Scirust
- indigits/scirust — scientific computing library in Rust
- Statrs
- boxtown/statrs — Robust statistical computation library in Rust
- Rustimization [rustimization]
- noshu/rustimization — A rust optimization library which includes L-BFGS-B and Conjugate Gradient algorithm
- calebwin/emu — A language for GPGPU numerical computing from a Rust macro
Configuration
- mehcode/config-rs [config] — Layered configuration system for Rust applications (with strong support for 12-factor applications).
- Kixunil/configure_me [configure_me] — library for processing application configuration easily
- andoriyu/uclicious [uclicious] — libUCL based feature-rich configuration library.
Cryptography
- briansmith/ring — Safe, fast, small crypto using Rust and BoringSSL's cryptography primitives.
- briansmith/webpki — Web PKI TLS X.509 certificate validation in Rust.
- brycx/orion — This library aims to provide easy and usable crypto. 'Usable' meaning exposing high-level API's that are easy to use and hard to misuse.
- ctz/rustls — A Rust implementation of TLS
- DaGenix/rust-crypto — cryptographic algorithms in Rust
- dalek-cryptography/curve25519-dalek — Pure Rust implementation of Curve25519 operations
- dalek-cryptography/ed25519-dalek — Pure Rust implementation of Ed25519 digital signatures
- dalek-cryptography/x25519-dalek — Pure Rust implementation of X25519 key exchange
- debris/tiny-keccak — Pure Rust implementation of the Keccak family (SHA3)
- defund/pw — CLI password manager with no frills
- sodiumoxide/sodiumoxide — libsodium bindings
- doublify/libblockchain — A Blockchain implementation
- exonum/exonum [exonum] — extensible framework for blockchain projects
- klutzy/suruga — A Rust implementation of TLS 1.2
- libOctavo/octavo — Modular hash and crypto library in Rust
- novifinancial/opaque-ke — Pure Rust implementation of the recent OPAQUE password-authenticated key exchange.
- RustCrypto/hashes — Collection of cryptographic hash functions written in pure Rust
- rustindia/mpw-rs — Pure Rust implementation of the Master Password password manager
- Fraunhofer-AISEC/rabe — Library providing several Attribute-Based Encryption (ABE) schemes
- racum/rust-djangohashers — A Rust port of the password primitives used in the Django Project. It doesn't require Django, only hashes and validates passwords according to its style.
- RNCryptor/rncryptor-rs — Pure Rust implementation of the RNCryptor AES file format
- conradkleinespel/rooster [rooster] — Simple password manager to use in your terminal
- sfackler/rust-native-tls — Bindings for native TLS libraries
- sfackler/rust-openssl — OpenSSL bindings
- kornelski/rust-security-framework — Bindings for Security Framework (OSX native)
- steffengy/schannel-rs — Bindings for Schannel (Windows native TLS)
- zebradil/rustotpony — CLI manager of one-time password generators aka Google Authenticator (TOTP)
Database
[database]
-
sfackler/r2d2 — generic connection pool
-
NoSQL [nosql]
- ArangoDB
- Rincon — An ArangoDB (NoSQL and Graph store) driver for Rust
- Cassandra [cassandra, cql]
- AlexPikalov/cdrs [cdrs] — native client written in Rust
- Metaswitch/cassandra-rs — bindings to the DataStax C/C++ client
- CouchDB [couchdb]
- chill-rs/chill [couchdb] — A Rust client for the CouchDB REST API
- Sofa — an interface to CouchDB HTTP REST API for stable rust
- Elasticsearch [elasticsearch]
- benashford/rs-es [rs-es] — A Rust client for the Elastic REST API
- elastic-rs/elastic [elastic] — elastic is an efficient, modular API client for Elasticsearch written in Rust
- etcd
- jimmycuadra/rust-etcd [etcd] — A client library for CoreOS's etcd.
- luncj/etcd-rs — An asynchronous etcd client for rust
- ForestDB
- vhbit/sherwood — ForestDB bindings
- InfluxDB
- panoptix-za/influxdb-rs — asynchronous interface
- driftluo/InfluxDBClient-rs — Synchronization interface
- LevelDB
- skade/leveldb — LevelDB bindings
- LMDB [lmdb]
- vhbit/lmdb-rs [lmdb-rs] — LMDB bindings
- MHdb
- MHmorgan/mhdb [mhdb] — Pure rust embeddable key-value store database.
- MongoDB [mongodb]
- mongodb/mongo-rust-driver [mongodb] — MongoDB bindings
- Neo4j [cypher, neo4j]
- Redis [redis]
- mitsuhiko/redis-rs — Redis library in Rust
- RocksDB
- rust-rocksdb/rust-rocksdb — RocksDB bindings
- UnQLite
- zitsen/unqlite.rs — UnQLite bindings
- ZooKeeper
- bonifaido/rust-zookeeper [zookeeper] — A client library for Apache ZooKeeper.
- PickleDB
- seladb/pickledb-rs — a lightweight and simple key-value store, heavily inspired by Python's PickleDB.
- ArangoDB
-
SQL [sql]
- Generic
- launchbadge/sqlx - async PostgreSQL/MySQL/SQLite connection pool with strong typing support
- Microsoft SQL
- MySql [mysql]
- AgilData/mysql-proxy-rs — A MySQL Proxy
- blackbeam/mysql_async [mysql_async] — asyncronous Rust Mysql driver based on Tokio.
- blackbeam/rust-mysql-simple [mysql] — A native MySql client
- PostgreSql [postgres, postgresql]
- sfackler/rust-postgres [postgres] — A native PostgreSQL client
- Sqlite [sqlite]
- Generic
-
ORM [orm]
- diesel-rs/diesel — an ORM and Query builder for Rust
- ivanceras/rustorm — an ORM for Rust
Data processing
- bluss/ndarray — N-dimensional array with array views, multidimensional slicing, and efficient operations
- kernelmachine/utah — Dataframe structure and operations in Rust
- weld-project/weld — High-performance runtime for data analytics applications
Data structures
- billyevans/tst [tst] — Ternary search tree collection
- rust-itertools/itertools —
- contain-rs — Extension of Rust's std::collections
- danielpclark/array_tool — Array helpers for Rust. Some of the most common methods you would use on Arrays made available on Vectors. Polymorphic implementations for handling most of your use cases.
- fizyk20/generic-array – a hack to allow for arrays sized by typenums
- garro95/priority-queue[priority-queue] — A priority queue that implements priority changes.
- mrhooray/kdtree-rs — K-dimensional tree in Rust for fast geospatial indexing and nearest neighbors lookup
- Nemo157/roaring-rs – Roaring Bitmaps in Rust
- orium/rpds [rpds] — Persistent data structures in Rust.
- pop-os/progress-streams — Progress callbacks for types which implement
dyn io::Read
ordyn io::Write
. - whitfin/usher [usher] — Parameterized routing for generic resources in Rust.
- xfix/enum-map [enum-map] — An optimized map implementation for enums using an array to store values.
Data visualization
- saresend/gust —
- milliams/plotlib —
- igiagkiozis/plotly — Plotly for Rust.
- 38/plotters —
Date and time
- chronotope/chrono —
- yaa110/rust-persian-calendar —
- Mnwa/ms [ms-converter] — it's a library for converting human-like times to milliseconds
Distributed systems
- Antimony
- antimonyproject/antimony [antimony] — stream processing / distributed computation platform
- Apache Hadoop
- whitfin/efflux — Easy Hadoop Streaming and MapReduce interfaces in Rust.
- Apache Kafka
- fede1024/rust-rdkafka [rdkafka] — librdkafka bindings
- gklijs/schema_registry_converter — to integrate with confluent schema registry
- spicavigo/kafka-rust —
- Beanstalkd
- schickling/rust-beanstalkd — Beanstalkd bindings
- HDFS
- hyunsik/hdfs-rs — libhdfs bindings
- GildedHonour/atarashii_imap — 新しい (atarashii/new) IMAP client in Rust. It supports plain and secure connections
- gsquire/sendgrid-rs — unofficial Rust library for SendGrid API
- lettre/lettre — an SMTP-library for Rust
- staktrace/mailparse [mailparse] — A library for parsing real-world email files
- meli [meli] — terminal email client
Encoding
[encoding]
- ASN.1
- alex/rust-asn1 — A Rust ASN.1 (DER) serializer
- Bencode
- arjantop/rust-bencode — Bencode implementation in Rust
- Binary
- arcnmx/nue — I/O and binary data encoding for Rust
- servo/bincode — A binary encoder/decoder in Rust
- m4b/goblin [goblin] — cross-platform, zero-copy, and endian-aware binary parsing
- BSON
- mongodb/bson-rust — Encoding and decoding support for BSON in Rust
- Byte swapping
- BurntSushi/byteorder — Supports big-endian, little-endian and native byte orders
- Cap'n Proto
- CBOR
- serde_cbor — CBOR support for serde
- Character Encoding
- hsivonen/encoding_rs [encoding_rs] — A Gecko-oriented implementation of the Encoding Standard in Rust
- lifthrasiir/rust-encoding —
- CRC
- CSV
- BurntSushi/rust-csv — A fast and flexible CSV reader and writer, with support for Serde
- FlatBuffers
- frol/flatc-rust — FlatBuffers compiler (flatc) integration for Cargo build scripts
- EDN
- naomijub/edn-rs — crate to parse and emit EDN format into Rust types.
- HAR
- mandrean/har-rs — A HTTP Archive Format (HAR) serialization & deserialization library
- HTML
- servo/html5ever — High-performance browser-grade HTML5 parser
- veddan/rust-htmlescape — encoding/decoding HTML entities
- JSON
- pikkr/pikkr [pikkr] — JSON parser which picks up values directly without performing tokenization in Rust
- serde-rs/json [serde_json] — JSON support for Serde framework
- simd-lite/simd-json [simd-json] — High performance JSON parser based on a port of simdjson
- maciejhirsz/json-rust [json] — JSON implementation in Rust
- importcjj/rust-ajson [ajson] — Get JSON values quickly
- Jsonnet
- MsgPack
- 3Hren/msgpack-rust — A pure Rust low/high level MessagePack implementation
- PEM
- jcreekmore/pem-rs [pem] — A Rust based way to parse and encode PEM-encoded data
- Postman Collection
- mandrean/postman-collection-rs — A Postman Collection v1, v2 & v2.1 serialization & deserialization library
- ProtocolBuffers
- RON (Rusty Object Notation)
- Tnetstring
- TOML
- XML
- tafia/quick-xml — High performance XML pull reader/writer
- Florob/RustyXML — an XML parser written in Rust
- shepmaster/sxd-document — An XML library in Rust
- shepmaster/sxd-xpath — An XPath library in Rust
- netvl/xml-rs — A streaming XML library
- media-io/yaserde — Yet Another Serializer/Deserializer specialized for XML
- YAML
- chyh1990/yaml-rust — The missing YAML 1.2 implementation for Rust.
- dtolnay/serde-yaml [serde_yaml] — YAML support for Serde framework
- kimhyunkang/libyaml-rust — libyaml bindings
- vitiral/stfu8 — Sorta Text Format in UTF-8
Filesystem
- Operations
- pop-os/dbus-udisks2 -> UDisks2 DBus API
- pop-os/sys-mount — High level abstraction for the
mount
/umount2
system calls. - vitiral/path_abs — Absolute serializable path types and associated methods.
- webdesus/fs_extra — expanding opportunities standard library std::fs and std::io
- Temporary Files
- rust-lang-deprecated/tempdir — temporary directory library
- Stebalien/tempfile — temporary file library
- Stebalien/xattr [xattr] — list and manipulate unix extended file attributes
- zboxfs/zbox [zbox] — Zero-details, privacy-focused embeddable file system.
Functional Programming
- Prelude
- JasonShin/fp-core.rs — A library for functional programming in Rust
Game development
See also Are we game yet?
- Allegro
- SiegeLord/RustAllegro — Allegro 5 bindings
- Challonge
- vityafx/challonge-rs [challonge] — Client library for the Challonge REST API. Helps to organize tournaments.
- Corange
- lucidscape/corange-rs — Corange bindings
- Entity-Component Systems (ECS)
- amethyst/specs — Specs Parallel ECS
- legion — A feature rich high performance ECS library with minimal boilerplate
- Game Engines
- Amethyst — Data-oriented game engine
- ggez — A lightweight game framework for making 2D games with minimum friction
- harmony — A modern 3D/2D game engine that uses wgpu
- Kiss3d — A Keep It Simple, Stupid 3d graphics engine written with Rust
- oxidator — A real time strategy game/engine written with Rust and WebGPU
- Piston —
- Unrust — unrust — A pure rust based (webgl 2.0 / native) game engine
- Vulkust — Vulkust — A safe, highly multithreaded, Vulkan based game engine written with Rust.
- SDL [sdl]
- brson/rust-sdl — SDL1 bindings
- Rust-SDL2/rust-sdl2 — SDL2 bindings
- SFML
- jeremyletang/rust-sfml — SFML bindings
- Tcod-rs
- tomassedovic/tcod-rs — Libtcod bindings for Rust.
- Victorem
- VictoremWinbringer/Victorem [Victorem] — Easy UDP Game Server and UDP Client framework for creating simple 2D and 3D online game prototype
- Voxlap
- bbodi/rust-voxlap — Voxlap bindings
- Awesome wgpu — A curated list of wgpu code and resources
Geospatial
- DaveKram/coord_transforms [coord_transforms] — coordinate transformations (2-d, 3-d, and geospatial)
- Georust — geospatial tools and libraries written in Rust
- rust-reverse-geocoder — A fast, offline reverse geocoder in Rust, inspired by https://github.com/thampiman/reverse-geocoder
- vlopes11/geomorph [geomorph] — conversion between UTM, LatLon and MGRS coordinates
Graphics
[graphics]
- gfx-rs/wgpu - Native WebGPU implementation based on gfx-hal.
- gfx-rs/gfx — A high-performance, bindless graphics API for Rust.
- Font
- redox-os/rusttype — A pure Rust alternative to libraries like FreeType
- RazrFalcon/rustybuzz - An incremental harfbuzz port to Rust
- OpenGL [opengl]
- brendanzab/gl-rs —
- glium/glium — safe OpenGL wrapper for the Rust language.
- Kiss3d — draw simple geometric figures and play with them with one-liners
- PistonDevelopers/glfw-rs —
- glutin — Rust alternative to GLFW
- PDF
- kaj/rust-pdf —
- fschutt/printpdf — PDF writing library
- J-F-Liu/lopdf — PDF document manipulation
- WASM-PDF – Generates PDF files with JavaScript and WASM (WebAssembly)
- Vulkan [vulkan]
Graph processing
- kud1ing/tinkerpop-rs — an example how to use Apache TinkerPop from Rust
GUI
[gui]
-
autopilot-rs/autopilot-rs — A simple, cross-platform GUI automation library for Rust.
-
maps4print/azul — A free, functional, IMGUI-oriented GUI framework for rapid development of desktop applications written in Rust, supported by the Mozilla WebRender rendering engine.
-
OrbTk — The Orbital Widget Toolkit is a multi platform (G)UI toolkit using SDL2
-
PistonDevelopers/conrod — An easy-to-use, immediate-mode, 2D GUI library written entirely in Rust
-
rise-ui — Simple component-based cross-Platform GUI Toolkit for developing beautiful and user-friendly interfaces.
-
Cocoa
-
- fltk-rs — FLTK Rust bindings
-
- flutter-rs — Build flutter desktop app in dart & rust.
-
- gtk-rs/gtk — GTK+ bindings
- relm — Asynchronous, GTK+-based, GUI library, inspired by Elm
-
- imgui-rs — Rust bindings for ImGui
-
- clear-coat — Clear Coat is a Rust wrapper for the IUP GUI library
- dcampbell24/iup-rust — IUP bindings
- Kiss-ui — A simple UI framework built on IUP
-
- rust-native-ui/libui-rs — libui bindings .
-
- nuklear-rust — Rust bindings for Nuklear
-
- woboq/qmetaobject-rs — Integrate Qml and Rust by building the QMetaObject at compile time.
- cyndis/qmlrs — QtQuick bindings
- kitech/qt.rs — Qt5 bindings
- Rust Qt Binding Generator — Binding generator hosted by KDE.
- rust-qt —
- White-Oak/qml-rust — QML bindings.
-
saurvs/nfd-rs — nativefiledialog bindings
-
- sciter-sdk/rust-sciter — Sciter bindings
-
hecrj/iced — A cross-platform GUI library for Rust focused on simplicity and type-safety. Inspired by Elm.
-
ivanceras/sauron-native - A truly native and cross platform GUI library. One unified code can be run as native GUI, Html Web and TUI.
-
tauri-apps/tauri — Toolchain for building highly secure native apps that have tiny binaries and are very fast from HTML, JS and CSS layer, powered by webview.
Image processing
- abonander/img_hash — Perceptual image hashing and comparison for equality and similarity.
- image-rs/image — Basic imaging processing functions and methods for converting to and from image formats
- image-rs/imageproc — An image processing library, based on the
image
library. - twistedfall/opencv-rust — Rust bindings for OpenCV
- teovoinea/steganography [steganography] — A simple steganography library
Language specification
- shnewto/bnf — A library for parsing Backus–Naur form context-free grammars.
Logging
[log]
- seanmonstar/pretty-env-logger — A pretty, easy-to-use logger for Rust.
- rust-lang/log — Logging implementation for Rust
- slog-rs/slog — Structured, composable logging for Rust
- estk/log4rs — highly configurable logging framework modeled after Java's Logback and log4j libraries
- tokio-rs/tracing — An application level tracing framework for async-aware structured logging, error handling, metrics, and more
Macro
- cute
- mattgathu/cute — Macro for Python-esque list comprehensions in Rust.
- hado
- ludat/hado-rs — A little macro for writing haskell-like do expressions without too much ceremony
Markup language
- CommonMark
- raphlinus/pulldown-cmark — CommonMark parser in Rust
Mobile
- Android
- rust-windowing/android-rs-glue — glue between Rust and Android
- iOS
- TimNN/cargo-lipo — A cargo lipo subcommand which automatically creates a universal library for use with your iOS application.
- 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
- HTTP
- pop-os/parallel-getter — Download a file with parallel GET requests to maximize bandwidth usage.
- pop-os/url-crawler — A configurable parallel web crawler, designed to crawl a website for content.
- pop-os/url-scraper — Scrape URLs from HTML pages
- FTP
- mattnenterprise/rust-ftp — an FTP client for Rust
- gRPC
- tikv/grpc-rs — The gRPC library for Rust built on C Core library and futures
- IPNetwork
- achanda/ipnetwork — A library to work with IP networks in pure Rust
- candrew/netsim — A Rust library for network simulation and testing
- JSON-RPC
- vlopes11/futures-jsonrpc [futures-jsonrpc] — Futures implementation for JSON-RPC
- Low level
- libpnet/libpnet — A cross-platform, low level networking
- smoltcp-rs/smoltcp — A standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems
- tokio-rs/tokio — A network application framework for rapid development and highly scalable production deployments of clients and servers.
- dylanmckay/protocol — Custom TCP/UDP protocol definitions
- actix/actix — Actor library for Rust
- NanoMsg
- thehydroimpulse/nanomsg.rs — nanomsg bindings
- Nng
- neachdainn/nng-rs [Nng] — Nng (nanomsg v2) bindings
- NNTP
- mattnenterprise/rust-nntp — an NNTP client for Rust
- POP3
- mattnenterprise/rust-pop3 — A POP3 client for Rust
- SSH
- alexcrichton/ssh2-rs — libssh2 bindings
- Thrussh — an SSH library written from scratch in Rust, backed by libsodium
- Stomp
- zslayton/stomp-rs — A STOMP 1.2 client implementation in Rust
- uTP
- meqif/rust-utp — A uTP (Micro Transport Protocol) library for Rust.
- ZeroMQ
- erickt/rust-zmq — ZeroMQ bindings
- CoAP
- Covertness/coap-rs — A Constrained Application Protocol(CoAP) library for Rust.
- Docker
- fussybeaver/bollard — Docker daemon API in Rust
- RPC
- smallnest/rpcx-rs — A RPC library for Rust for developing microservices in easy and simple way.
- QUIC
- cloudflare/quiche — cloudflare implementation of the QUIC transport protocol and HTTP/3
- djc/quinn — Futures-based QUIC implementation in Rust
- mozilla/neqo — an Implementation of QUIC written in Rust
- P2P
- libp2p/rust-libp2p — The Rust Implementation of libp2p networking stack.
Parsing
- aleshaleksey/libazdice — A parser for parsing dice strings for TTRPGs and TTRPG development
- Folyd/robotstxt - A native Rust port of Google's robots.txt parser and matcher C++ library
- Geal/nom — parser combinator library
- ivanceras/inquerest — an URL parameter parser for rest filter inquiry
- kevinmehall/rust-peg — Parsing Expression Grammar (PEG) parser generator
- m4rw3r/chomp – A fast monadic-style parser combinator
- Marwes/combine — parser combinator library
- lalrpop/lalrpop — LR(1) parser generator for Rust
- nrc/zero — zero-allocation parsing of binary data
- pest-parser/pest — The Elegant Parser
- ptal/oak — A typed PEG parser generator (compiler plugin)
- s-panferov/queryst — A query string parsing library for Rust inspired by https://github.com/ljharb/qs
- freestrings/jsonpath — JsonPath engine written in Rust. Webassembly and Javascript support too
Packaging formats
- pop-os/debarchive Library for reading and extracting debian archives
Peripherals
- Serial Port
- Susurrus/serialport-rs [serialport] — A cross-platform library that provides access to a serial port
Platform specific
-
Cross-platform
- svartalf/rust-battery — Cross-platform information about the notebook batteries
-
Linux
- frol/cgroups-fs — Rust bindings to Linux Control Groups (cgroups)
- pop-os/dbus-udisks2 — UDisks2 DBus API
- pop-os/distinst — Linux distribution installer library
- hannobraun/inotify — inotify bindings
- arvancloud/nginx-rs — Nginx bindings
- yaa110/rust-iptables — iptables bindings
-
Unix-like
- nix-rust/nix — Unix-like API bindings
- zargony/fuse-rs — FUSE bindings
-
Windows
- retep998/winapi-rs — Windows API bindings
-
FreeBSD
- fubarnetes/libjail-rs — Rust implementation of a FreeBSD jail library
- dlrobertson/capsicum-rs — Rust bindings for the FreeBSD capsicum framework
Scripting
- duckscript — Simple, extendable and embeddable scripting language.
- PistonDevelopers/dyon — A rusty dynamically typed scripting language
- gluon-lang/gluon — A small, statically-typed, functional programming language
- murarth/ketos — A Lisp dialect functional programming language serving as a scripting and extension language for rust
- moss — A dynamically typed scripting language
- mun — A compiled, statically-typed scripting language with first class hot reloading support
- jonathandturner/rhai — A tiny and fast embedded scripting language resembling a combination of JS and Rust
Simulation
- bigbang - Gravitational and collisional n-body simulation with optional GPU acceleration
- nyx-space - High fidelity, fast, reliable and validated astrodynamical toolkit library, used for spacecraft mission design and orbit determination
Template engine
- Handlebars
- sunng87/handlebars-rust — Handlebars template engine with inheritance, custom helper support.
- botika/yarte — Yarte stands for Yet Another Rust Template Engine, is the fastest template engine.
- HTML
- lambda-fairy/maud — compile-time HTML templates
- Stebalien/horrorshow-rs — compile-time HTML templates
- kaj/ructe — HTML template system for Rust
- Keats/tera — template engine based on Jinja2 and the Django template language.
- djc/askama — template rendering engine based on Jinja
- naomijub/hiccup — template engine inpired by Clojure's Hiccup.
- Mustache
- tailhook/marafet — Compiler for Jade-like template language to cito.js-based virtual dom
Text processing
- BurntSushi/suffix — Linear time suffix array construction (with Unicode support)
- BurntSushi/tabwriter — Elastic tab stops (i.e., text column alignment)
- mgeisler/textwrap [textwrap] — Word wrap text (with support for hyphenation)
- pwoolcoc/ngrams — Construct n-grams from arbitrary iterators
- ps1dr3x/easy_reader — A reader that allows forwards, backwards and random navigations through the lines of huge files without consuming iterators
- rust-lang/regex — Regular expressions (RE2 style)
- strsim-rs — String similarity metrics
- greyblake/whatlang-rs — Natural language detection library based on trigrams
- yaa110/rake-rs — Multilingual implementation of RAKE algorithm for Rust
- Lucretiel/joinery [joinery] – Generic string + iterable joining
Text search
- andylokandy/simsearch-rs [simsearch] — A simple and lightweight fuzzy search engine that works in memory, searching for similar strings
- BurntSushi/fst [fst] —
- meilisearch/MeiliSearch — Ultra relevant, instant and typo-tolerant full-text search API.
- minio/minsql — High-performance log search engine.
- CurrySoftware/perlin [perlin]
- tantivy-search/tantivy [tantivy] —
Unsafe
- zerocopy — Utilities for safely reinterpreting arbitrary byte sequences as native Rust types
Virtualization
- beneills/quantum — Advanced Rust quantum computer simulator
- chromium/chromiumos/platform/crosvm CrOSVM — Enables Chrome OS to run Linux apps inside a fast, secure virtualized environment
- unicorn-rs/unicorn-rs — Rust bindings for the unicorn CPU emulator
- saurvs/hypervisor-rs — Hardware-accelerated virtualization on OS X
Web programming
See also Are we web yet? and Rust web framework comparison.
- Client-side / WASM
- HTTP Client
- alexcrichton/curl-rust — libcurl bindings
- async-graphql - A GraphQL server library implemented in Rust
- graphql-client — Typed, correct GraphQL requests and responses in Rust.
- hyperium/hyper — an HTTP implementation
- seanmonstar/reqwest — an ergonomic HTTP Client for Rust.
- DoumanAsh/yukikaze — Beautiful and elegant Yukikaze is little HTTP client library based on hyper.
- HTTP Server
- actix/actix-web — A lightweight async web framework for Rust with websocket support
- branca — A Pure Rust implementation of Branca for Authenticated and Encrypted API tokens.
- Gotham — A flexible web framework that does not sacrifice safety, security or speed.
- hyperium/hyper — an HTTP implementation
- GildedHonour/frank_jwt — JSON Web Token implementation in Rust.
- handlebars-rust — an Iron web framework middleware.
- Iron — A middleware-based server framework
- Juniper — GraphQL server library for Rust
- Nickel — inspired by Express
- Ogeon/rustful — A RESTful web framework for Rust
- 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
- Saphir — A progressive web framework with low-level control, without the pain.
- daogangtang/sapper — A lightweight web framework built on async hyper, implemented in Rust language.
- tiny-http — Low level HTTP server library
- tomaka/rouille — Web framework in Rust
- 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.
- oltdaniel/zap — A lightning fast http framework for Rust
- WebSocket
- actix/sockjs — A SockJS server for Rust
- rust-websocket — A framework for dealing with WebSocket connections (both clients and servers)
- housleyjk/ws-rs — lightweight, event-driven WebSockets for Rust
- snapview/tungstenite-rs — Lightweight stream-based WebSocket implementation for Rust.
- vi/websocat — CLI for interacting with WebSockets, with functionality of Netcat, Curl and Socat.
- vityafx/urlshortener-rs [urlshortener] — A very simple urlshortener library for Rust.
- bitwyre/websocket_core — Websocket generic server library for periodic message broadcast.
- Miscellaneous
- cargonauts — A web framework intended for building maintainable, well-factored web apps.
- pyros2097/rust-embed — A macro to embed static assets into the rust binary
- utkarshkukreti/select.rs [select] — A library to extract useful data from HTML documents, suitable for web scraping.
- pwoolcoc/soup [soup] — A library similar to Python's BeautifulSoup, designed to enable quick and easy manipulation and querying of HTML documents.
- softprops/openapi — A library for processing openapi spec files
- tbot - Make cool Telegram bots with Rust easily
- teloxide/teloxide - An elegant Telegram bots framework for Rust
- Reverse Proxy
- sozu-proxy/sozu [sozu] — A HTTP reverse proxy.
- Static Site Generators
- getzola/zola [zola] — An opinionated static site generator with everything built-in.
- cobalt-org/cobalt.rs — Static site generator written in Rust
- FuGangqiang/mdblog.rs — Static site generator from markdown files.
- leven-the-blog/leven [leven] — A simple, parallelized blog generator.
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
- Benchmarks
- TeXitoi/benchmarksgame-rs — Rust implementations for the The Computer Language Benchmarks Game
- Decks & Presentations
- Learning systems programming with Rust — Presented by Julia Evans @ Rustconf 2016.
- Shipping a Solid Rust Crate — Presented by Michael Gattozzi @ RustConf 2017
- Rust: Hack Without Fear! — Presented by Nicholas Matsakis @ C++Now 2018
- Learning
- Programming Community Curated Resources for Learning Rust — A list of recommended resources voted by the programming community.
- awesome-rust-mentors — A list of helpful Rust mentors willing to take mentees and eductate them about Rust and programming.
- Awesome Rust Streaming - A community curated list of livestreams about Rust.
- exercism.io — programming exercises that help you learn new concepts in Rust.
- Idiomatic Rust — A peer-reviewed collection of articles/talks/repos which teach idiomatic Rust.
- Learning Rust With Entirely Too Many Linked Lists — in-depth exploration of Rust's memory management rules, through implementing a few different types of list structures.
- Rust by Example
- Rust Cookbook — A collection of simple examples that demonstrate good practices to accomplish common programming tasks, using the crates of the Rust ecosystem.
- Rust Online Courses at Classpert — A list of Rust online courses (paid) from Classpert Online Course Search
- Rust for professionals — A quick introduction to Rust for experienced software developers.
- Rust in Motion — A video series by Carol Nichols and Jake Goulding (paid)
- rust-learning — A collection of useful resources to learn Rust
- Rustlings — small exercises to get you used to reading and writing Rust code
- stdx — Learn these crates first as an extension to std
- University of Pennsylvania's Comp Sci Rust Programming Course
- Build a language VM
- Code Playground - Interactively edit & play rust snippets on your iPhone and iPad devices.
- Podcasts
- New Rustacean — A podcast about learning Rust
- Rustacean Station — A community project for creating podcast content for Rust
- Rusty Spike — news on all things Rust
- RustCamp 2015 Talks
- Rust Design Patterns
- Rust Guidelines
- RustBooks — list of RustBooks
- Rust Subreddit — A subreddit(forum) where rust related questions, articles and resources are posted and discussed