# Awesome Rust A curated list of awesome Rust code and resources. Inspired by the other [awesome lists](https://github.com/bayandin/awesome-awesomeness). Ther goal is to have only projects that are mostly stable and useful to users. Projects that do not compile with Rust-nightly for a longer time should be removed. - [Awesome Rust](#awesome-rust) - [Applications written in Rust](#applications-written-in-rust) - [Games](#games) - [Libraries](#libraries) - [Audio](#audio) - [Build system](#build-system) - [Command-line argument parsing](#command-line-argument-parsing) - [Compression](#compression) - [Computation](#computation) - [Cryptography](#cryptography) - [Database](#database) - [Date structures](#data-structures) - [Date and time](#date-and-time) - [Encoding](#encoding) - [Game development](#game-development) - [Games](#games) - [GUI](#gui) - [Image processing](#image-processing) - [Mobile](#mobile) - [Network programming](#network-programming) - [Platform specific](#platform-specific) - [Template engine](#template-engine) - [Testing](#testing) - [Text processing](#text-processing) - [Web programming](#web-programming) - [Resources](#resources) - [Tools](#tools) - [IDEs](#ides) ## Applications written in Rust * [buster/rrun](https://github.com/buster/rrun) — A command launcher for Linux, similar to gmrun [](https://travis-ci.org/buster/rrun) * [BurntSushi/xsv](https://github.com/BurntSushi/xsv) — A fast CSV command line tool (slicing, indexing, selecting, searching, sampling, etc.) [](https://travis-ci.org/BurntSushi/xsv) * [gchp/iota](https://github.com/gchp/iota) — a simple text editor written in Rust [](https://travis-ci.org/gchp/iota) * [Servo](https://github.com/servo/servo) — a prototype web browser engine written in Rust * [thoughtram/clog](https://github.com/thoughtram/clog) — a [conventional changelog](https://github.com/ajoslin/conventional-changelog/blob/master/CONVENTIONS.md) port (generates a changelog from git metadata) [](https://travis-ci.org/thoughtram/clog) * [uutils/coreutils](https://github.com/uutils/coreutils) — cross-platform Rust rewrite of the GNU coreutils [](https://travis-ci.org/uutils/coreutils) ### Games * [Coeuvre/rust-2048](https://github.com/Coeuvre/rust-2048) * [lifthrasiir/angolmois-rust](https://github.com/lifthrasiir/angolmois-rust) — a minimalistic music video game which supports the BMS format [](https://travis-ci.org/lifthrasiir/angolmois-rust) ## Libraries ### Audio * [bjz/openal-rs](https://github.com/bjz/openal-rs) — [OpenAL 1.1](http://www.openal.org/) bindings [](https://travis-ci.org/bjz/openal-rs) * [JeremyLetang/ears](https://github.com/JeremyLetang/ears) — a simple library to play Sounds and Musics, on top of OpenAL and libsndfile [](https://travis-ci.org/jeremyletang/ears) * [JeremyLetang/rust-portaudio](https://github.com/JeremyLetang/rust-portaudio) — [PortAudio](http://www.portaudio.com/) bindings [](https://travis-ci.org/jeremyletang/rust-portaudio) * [RustAudio](https://github.com/RustAudio) * [samdoshi/portmidi-rs](https://github.com/samdoshi/portmidi-rs) — [PortMidi](http://portmedia.sourceforge.net/portmidi/) bindings [](https://travis-ci.org/samdoshi/portmidi-rs) ### Build system * [Cargo](http://crates.io/) — the Rust package manager * CMake * [SiegeLord/RustCMake](https://github.com/SiegeLord/RustCMake) — an example project showing usage of CMake with Rust [](https://travis-ci.org/SiegeLord/RustCMake) ### Command-line argument parsing * [docopt/docopt.rs](https://github.com/docopt/docopt.rs) — a Rust implementation of [DocOpt](http://docopt.org) [](https://travis-ci.org/docopt/docopt.rs) * [kbknapp/clap-rs](https://github.com/kbknapp/clap-rs) — a simple to use, full featured command-line argument parser [](https://travis-ci.org/kbknapp/clap-rs) ### Compression * [alexcrichton/bzip2-rs](https://github.com/alexcrichton/bzip2-rs) — [libbz2](http://www.bzip.org) bindings [](https://travis-ci.org/alexcrichton/bzip2-rs) * [alexcrichton/flate2-rs](https://github.com/alexcrichton/flate2-rs) — [miniz](https://code.google.com/p/miniz/) bindings [](https://travis-ci.org/alexcrichton/flate2-rs) * [alexcrichton/tar-rs](https://github.com/alexcrichton/tar-rs) — tar archive reading/writing in Rust [](https://travis-ci.org/alexcrichton/tar-rs) * [lifthrasiir/rust-zip](https://github.com/lifthrasiir/rust-zip) — read and write ZIP archives [](https://travis-ci.org/lifthrasiir/rust-zip) ### Computation * [luqmana/rust-opencl](https://github.com/luqmana/rust-opencl) — [OpenCL](https://www.khronos.org/opencl/) bindings [](https://travis-ci.org/luqmana/rust-opencl) * [thestinger/rust-gmp](https://github.com/thestinger/rust-gmp) — [libgmp](https://gmplib.org/) bindings [](https://travis-ci.org/thestinger/rust-gmp) * [GuillaumeGomez/rust-GSL](https://github.com/GuillaumeGomez) - [GSL](http://www.gnu.org/software/gsl/) bindings [](https://travis-ci.org/GuillaumeGomez/rust-GSL) * [stainless-steel/blas](https://github.com/stainless-steel/blas) - [BLAS](http://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms) [](https://travis-ci.org/stainless-steel/blas) * [stainless-steel/lapack](https://github.com/stainless-steel/lapack) - [BLAS](http://en.wikipedia.org/wiki/LAPACK) [](https://travis-ci.org/stainless-steel/lapack) ### Cryptography * [DaGenix/rust-crypto](https://github.com/DaGenix/rust-crypto) — cryptographic algorithms in Rust [](https://travis-ci.org/DaGenix/rust-crypto) * [dnaq/sodiumoxide](https://github.com/dnaq/sodiumoxide) — [libsodium](https://github.com/jedisct1/libsodium) bindings [](https://travis-ci.org/dnaq/sodiumoxide) * [klutzy/suruga](https://github.com/klutzy/suruga) — a Rust implementation of [TLS 1.2](http://tools.ietf.org/html/rfc5246) * [seb-m/common.rs](https://github.com/seb-m/common.rs) — Common Rust crypto utilities [](https://travis-ci.org/seb-m/common.rs) * [sfackler/rust-openssl](https://github.com/sfackler/rust-openssl) — [OpenSSL](https://www.openssl.org/) bindings [](https://travis-ci.org/sfackler/rust-openssl) ### Database * NoSQL * Cassandra * [tupshin/cassandra-rust](https://github.com/tupshin/cassandra-rust) — [Cassandra](http://cassandra.apache.org) bindings * LMDB * [vhbit/lmdb-rs](https://github.com/vhbit/lmdb-rs) — [LMDB](http://symas.com/mdb/) bindings [](https://travis-ci.org/vhbit/lmdb-rs) * Redis * [mitsuhiko/redis-rs](https://github.com/mitsuhiko/redis-rs) — [Redis](http://redis.io) library in Rust [](https://travis-ci.org/mitsuhiko/redis-rs) * SQL * MySql * [blackbeam/rust-mysql-simple](https://github.com/blackbeam/rust-mysql-simple) — a native MySql client [](https://travis-ci.org/blackbeam/rust-mysql-simple) * PostgreSql * [sfackler/rust-postgres](https://github.com/sfackler/rust-postgres) — a native [PostgreSQL](http://www.postgresql.org) client [](https://travis-ci.org/sfackler/rust-postgres) * Sqlite * [dckc/rust-sqlite3](https://github.com/dckc/rust-sqlite3) — [Sqlite3](http://www.sqlite.org/) bindings [](https://travis-ci.org/dckc/rust-sqlite3) * [jgallagher/rusqlite](https://github.com/jgallagher/rusqlite) — [Sqlite3](http://www.sqlite.org/) bindings [](https://travis-ci.org/jgallagher/rusqlite) * [linuxfood/rustsqlite](https://github.com/linuxfood/rustsqlite) — [Sqlite3](http://www.sqlite.org/) bindings [](https://travis-ci.org/linuxfood/rustsqlite) ### Date and time * [lifthrasiir/rust-chrono](https://github.com/lifthrasiir/rust-chrono) — [](https://travis-ci.org/lifthrasiir/rust-chrono) * [rust-lang/time](https://github.com/rust-lang/time) — [](https://travis-ci.org/rust-lang/time) ### Data structures * [bluss/rust-itertools](https://github.com/bluss/rust-itertools) — [](https://travis-ci.org/bluss/rust-itertools) * [reem/rust-typemap](https://github.com/reem/rust-typemap) — [](https://travis-ci.org/reem/rust-typemap) ### Encoding * [TyOverby/bincode](https://github.com/TyOverby/bincode) — a binary encoder/decoder in Rust [](https://travis-ci.org/TyOverby/bincode) * Bencode * [arjantop/rust-bencode](https://github.com/arjantop/rust-bencode) — [Bencode](http://en.wikipedia.org/wiki/Bencode) implementation in Rust [](https://travis-ci.org/arjantop/rust-bencode) * Byte swapping * [BurntSushi/byteorder](https://github.com/BurntSushi/byteorder) — Supports big-endian, little-endian and native byte orders [](https://travis-ci.org/BurntSushi/byteorder) * Cap'n Proto * [dwrensha/capnproto-rust](https://github.com/dwrensha/capnproto-rust) — [](https://travis-ci.org/dwrensha/capnproto-rust) * CBOR * [BurntSushi/rust-cbor](https://github.com/BurntSushi/rust-cbor) — Supports JSON conversion and type-based encoding/decoding [](https://travis-ci.org/BurntSushi/rust-cbor) * Character Encoding * [lifthrasiir/rust-encoding](https://github.com/lifthrasiir/rust-encoding) — [](https://travis-ci.org/lifthrasiir/rust-encoding) * CSV * [BurntSushi/rust-csv](https://github.com/BurntSushi/rust-csv) — [](https://travis-ci.org/BurntSushi/rust-csv) * HTML * [servo/html5ever](https://github.com/servo/html5ever) — High-performance browser-grade HTML5 parser [](https://travis-ci.org/servo/html5ever) * MsgPck * [mneumann/rust-msgpack](https://github.com/mneumann/rust-msgpack) — [](https://travis-ci.org/mneumann/rust-msgpack) * ProtocolBuffers * [stepancheg/rust-protobuf](https://github.com/stepancheg/rust-protobuf) — [](https://travis-ci.org/stepancheg/rust-protobuf) * TOML * [alexcrichton/toml-rs](https://github.com/alexcrichton/toml-rs) — [](https://travis-ci.org/alexcrichton/toml-rs) * Tnetstring * [erickt/rust-tnetstring](https://github.com/erickt/rust-tnetstring) — [](https://travis-ci.org/erickt/rust-tnetstring) * XML * [Florob/RustyXML](https://github.com/Florob/RustyXML) — an XML parser written in Rust [](https://travis-ci.org/Florob/RustyXML) * [netvl/xml-rs](https://github.com/netvl/xml-rs) — a streaming XML library [](https://travis-ci.org/netvl/xml-rs) * YAML * [kimhyunkang/libyaml-rust](https://github.com/kimhyunkang/libyaml-rust) — [libyaml](http://pyyaml.org/wiki/LibYAML) bindings [](https://travis-ci.org/kimhyunkang/libyaml-rust) ### Game development * [bbodi/rust-voxlap](https://github.com/bbodi/rust-voxlap) — [Voxlap](http://advsys.net/ken/voxlap.htm) bindings * [PistonDevelopers/piston](https://github.com/PistonDevelopers/piston) — [](https://travis-ci.org/PistonDevelopers/piston) * [SiegeLord/RustAllegro](https://github.com/SiegeLord/RustAllegro) — [Allegro 5](http://liballeg.org/) bindings [](https://travis-ci.org/SiegeLord/RustAllegro) ### GUI * Cocoa * [mozilla-servo/rust-cocoa](https://github.com/mozilla-servo/rust-cocoa) * Gtk+ * [rust-gnome/gtk](https://github.com/rust-gnome/gtk) — [Gtk+](http://www.gtk.org) bindings [](https://travis-ci.org/rust-gnome/gtk) * ncurses * [jeaye/ncurses-rs](https://github.com/jeaye/ncurses-rs) — [](https://travis-ci.org/jeaye/ncurses-rs) * OpenGL * [bjz/gl-rs](https://github.com/bjz/gl-rs) — [](https://travis-ci.org/bjz/gl-rs) * [bjz/glfw-rs](https://github.com/bjz/glfw-rs) — [](https://travis-ci.org/bjz/glfw-rs) * [servo/rust-glut](https://github.com/servo/rust-glut) * [tomaka/glutin](https://github.com/tomaka/glutin) — Rust alternative to [GLFW](http://www.glfw.org/) [](https://travis-ci.org/tomaka/glutin) * Qt * [cyndis/qmlrs](https://github.com/cyndis/qmlrs) — [QtQuick](http://doc.qt.io) bindings [](https://travis-ci.org/cyndis/qmlrs) * SDL * [AngryLawyer/rust-sdl2](https://github.com/AngryLawyer/rust-sdl2) — [SDL2](http://www.libsdl.org/) bindings [](https://travis-ci.org/AngryLawyer/rust-sdl2) * [brson/rust-sdl](https://github.com/brson/rust-sdl) — [SDL1](http://www.libsdl.org/) bindings [](https://travis-ci.org/brson/rust-sdl) * [PistonDevelopers/conrod](https://github.com/PistonDevelopers/conrod/) — An easy-to-use, immediate-mode, 2D GUI library written entirely in Rust [](https://travis-ci.org/PistonDevelopers/conrod) * SFML * [jeremyletang/rust-sfml](https://github.com/jeremyletang/rust-sfml) — [SFML](http://www.sfml-dev.org/) bindings [](https://travis-ci.org/jeremyletang/rust-sfml) * Termbox * [gchp/rustbox](https://github.com/gchp/rustbox) — a Rust implementation of [termbox](http://github.com/nsf/termbox) [](https://travis-ci.org/gchp/rustbox) ### Image processing * [chyh1990/imageproc](https://github.com/chyh1990/imageproc) — An advanced image processing library for Rust. [![Build Status](https://travis-ci.org/chyh1990/imageproc.svg?branch=master)](https://travis-ci.org/chyh1990/imageproc) * [cybergeek94/img-hash](https://github.com/cybergeek94/img-hash) — Perceptual image hashing and comparison for equality and similarity. [![Build Status](https://travis-ci.org/cybergeek94/img-hash.svg?branch=master)](https://travis-ci.org/cybergeek94/img-hash) * [PistonDevelopers/image](https://github.com/PistonDevelopers/image) — Basic imaging processing functions and methods for converting to and from image formats [](https://travis-ci.org/PistonDevelopers/image) ### Mobile * [tomaka/android-rs-glue](https://github.com/tomaka/android-rs-glue) — glue between Rust and Android [](https://travis-ci.org/tomaka/android-rs-glue) * [vhbit/ObjCrust](https://github.com/vhbit/ObjCrust) — using Rust to create an iOS static library [](https://travis-ci.org/vhbit/ObjCrust) ### Network programming * Beanstalkd * [schickling/rust-beanstalkd](https://github.com/schickling/rust-beanstalkd) — [Beanstalkd](https://github.com/kr/beanstalkd) bindings [](https://travis-ci.org/schickling/rust-beanstalkd) * FTP * [mattnenterprise/rust-ftp](https://github.com/mattnenterprise/rust-ftp) — An [FTP](http://en.wikipedia.org/wiki/File_Transfer_Protocol) client for Rust [](https://travis-ci.org/mattnenterprise/rust-ftp) * Low level * [libpnet/libpnet](https://github.com/libpnet/libpnet) — Cross-platform, low level networking [](https://travis-ci.org/libpnet/libpnet) * NanoMsg * [thehydroimpulse/nanomsg.rs](https://github.com/thehydroimpulse/nanomsg.rs) — a modern messaging library that is the successor to ZeroMQ [](https://travis-ci.org/thehydroimpulse/nanomsg.rs) * NNTP * [mattnenterprise/rust-nntp](https://github.com/mattnenterprise/rust-nntp) — A [NNTP](http://en.wikipedia.org/wiki/Network_News_Transfer_Protocol) client for Rust [](https://travis-ci.org/mattnenterprise/rust-nntp) * POP3 * [mattnenterprise/rust-pop3](https://github.com/mattnenterprise/rust-pop3) — A [POP3](http://en.wikipedia.org/wiki/Post_Office_Protocol) client for Rust [](https://travis-ci.org/mattnenterprise/rust-pop3) * SSH * [alexcrichton/ssh2-rs](https://github.com/alexcrichton/ssh2-rs) — [libssh2](http://www.libssh2.org/) bindings [](https://travis-ci.org/alexcrichton/ssh2-rs) * Stomp * [zslayton/stomp-rs](https://github.com/zslayton/stomp-rs) — [STOMP 1.2](http://stomp.github.io/stomp-specification-1.2.html) client implementation in Rust [](https://travis-ci.org/zslayton/stomp-rs) * ZeroMQ * [erickt/rust-zmq](https://github.com/erickt/rust-zmq) — [ZeroMQ](http://zeromq.org/) bindings [](https://travis-ci.org/erickt/rust-zmq) ### Platform specific * Linux * [carllerche/nix-rust](https://github.com/carllerche/nix-rust) — Linux API bindings [](https://travis-ci.org/carllerche/nix-rust) * Windows * [retep998/winapi-rs](https://github.com/retep998/winapi-rs) — Windows API bindings [](https://travis-ci.org/retep998/winapi-rs) ### Template engine * [lfairy/maud](https://github.com/lfairy/maud) — compile-time HTML templates [](https://travis-ci.org/lfairy/maud) * Mustache * [rustache/rustache](https://github.com/rustache/rustache) — [](https://travis-ci.org/rustache/rustache) * [Stebalien/horrorshow-rs](https://github.com/Stebalien/horrorshow-rs) — compile-time HTML templates [](https://travis-ci.org/Stebalien/horrorshow-rs) * [sunng87/handlebars-iron](https://github.com/sunng87/handlebars-iron) — [Handlebars-rust](https://github.com/sunng87/handlebars-rust) as an Iron web framework middleware. [](https://travis-ci.org/sunng87/handlebars-iron) * [sunng87/handlebars-rust](https://github.com/sunng87/handlebars-rust) — Handlebars template engine with inheritance, custom helper support. [](https://travis-ci.org/sunng87/handlebars-rust) ### Testing * [BurntSushi/quickcheck](https://github.com/BurntSushi/quickcheck) — a Rust implementation of [QuickCheck](http://www.haskell.org/haskellwiki/Introduction_to_QuickCheck1) [](https://travis-ci.org/BurntSushi/quickcheck) * [farcaller/shiny](https://github.com/farcaller/shiny) — a fancy syntax similar to Ruby's Rspec or Objective-C' kiwi [](https://travis-ci.org/farcaller/shiny) ### Text processing * [BurntSushi/suffix](https://github.com/BurntSushi/suffix) — Linear time suffix array construction (with Unicode support) [](https://travis-ci.org/BurntSushi/suffix) * [BurntSushi/tabwriter](https://github.com/BurntSushi/suffix) — Elastic tab stops (i.e., text column alignment) [](https://travis-ci.org/BurntSushi/tabwriter) * [rust-lang/regex](https://github.com/rust-lang/regex) — Regular expressions (RE2 style) [](https://travis-ci.org/rust-lang/regex) ### Web programming See also [http://arewewebyet.com/](http://arewewebyet.com/) * Core * [hyperium/hyper](https://github.com/hyperium/hyper) — an HTTP implementation [](https://travis-ci.org/hyperium/hyper) * Client * [carllerche/curl-rust](https://github.com/carllerche/curl-rust) — [libcurl](http://curl.haxx.se/libcurl/) bindings [](https://travis-ci.org/carllerche/curl-rust) * [vhbit/curl-rs](https://github.com/vhbit/curl-rs) — [libcurl](http://curl.haxx.se/libcurl/) bindings [](https://travis-ci.org/vhbit/curl-rs) * Server * [Iron](http://ironframework.io/) — a middleware-based server framework [](https://travis-ci.org/iron/iron) * [Nickel](http://nickel.rs/) — inspired by [Express](http://expressjs.com/) [](https://travis-ci.org/nickel-org/nickel.rs) * [Ogeon/rustful](https://github.com/Ogeon/rustful) — a RESTful web framework for Rust [](https://travis-ci.org/Ogeon/rustful) * [Rustless](http://rustless.org/) — a REST-like API micro-framework inspired by [Grape](https://github.com/intridea/grape) and [Hyper](https://github.com/hyperium/hyper) [](https://travis-ci.org/rustless/rustless) * [tiny-http](https://github.com/frewsxcv/tiny-http) — Low level HTTP server library [](https://travis-ci.org/frewsxcv/tiny-http) ## Resources * [Rust by Example](http://rustbyexample.com/) * [Rust CI](http://www.rust-ci.org/) — a [Travis CI](https://travis-ci.com) dashboard for Rust projects * [Rust Guidelines](http://aturon.github.io/) ## Tools * [crabtw/rust-bindgen](https://github.com/crabtw/rust-bindgen) — a Rust bindings generator [](https://travis-ci.org/crabtw/rust-bindgen) * [dan-t/rusty-tags](https://github.com/dan-t/rusty-tags) — create ctags/etags for a cargo project and all of its dependencies [](https://travis-ci.org/dan-t/rusty-tags) * [kmcallister/afl.rs](https://github.com/kmcallister/afl.rs) — a Rust fuzzer, using [AFL](http://lcamtuf.coredump.cx/afl/) [](https://travis-ci.org/kmcallister/afl.rs) * [Manishearth/rust-clippy](https://github.com/Manishearth/rust-clippy) — a collection of lints that catch newbie mistakes and oversights during the build * [nrc/rustfmt](https://github.com/nrc/rustfmt) — a Rust code formatter [](https://travis-ci.org/nrc/rustfmt) * [phildawes/racer](https://github.com/phildawes/racer) — code completion for Rust [](https://travis-ci.org/phildawes/racer) ### IDEs * [Ride](https://github.com/madeso/ride) — [](https://travis-ci.org/madeso/ride) * [RustDT](https://github.com/RustDT/RustDT) — an [Eclipse](https://eclipse.org/)-based IDE for Rust [](https://travis-ci.org/RustDT/RustDT) * [SolidOak](https://github.com/oakes/SolidOak) — a simple IDE for Rust, based on Gtk+ and [Neovim](https://github.com/neovim/neovim) [](https://travis-ci.org/oakes/SolidOak) * [Vektah/idea-rust](https://github.com/Vektah/idea-rust) — an [IntelliJ](https://www.jetbrains.com/idea/)-based IDE for Rust [](https://travis-ci.org/Vektah/idea-rust)