2014-07-17 13:47:44 +03:00
# Awesome Rust
2014-07-17 16:05:35 +03:00
A curated list of awesome Rust code and resources. Inspired by the other [awesome lists ](https://github.com/bayandin/awesome-awesomeness ).
2014-07-17 14:02:40 +03:00
2014-07-28 09:08:24 +03:00
Only projects that are stable and useful to users are added. Projects that do not compile with Rust-nightly for a longer time are moved to `UNSTABLE.md` .
2014-07-18 10:02:27 +03:00
2014-07-17 14:02:40 +03:00
- [Awesome Rust ](#awesome-rust )
2014-07-17 16:05:35 +03:00
- [Code ](#code )
2014-07-18 09:24:50 +03:00
- [Audio ](#audio )
2014-07-20 17:24:03 +03:00
- [Build system ](#build-system )
2014-07-26 13:38:16 +03:00
- [Command-line argument parsing ](#command-line-argument-parsing )
2014-07-17 17:34:35 +03:00
- [Compression ](#compression )
2014-07-18 09:35:28 +03:00
- [Computation ](#computation )
2014-07-17 17:34:35 +03:00
- [Cryptography ](#cryptography )
2014-07-20 17:06:24 +03:00
- [Database ](#database )
2014-07-20 15:56:41 +03:00
- [Encoding ](#encoding )
2014-07-21 09:21:16 +03:00
- [Game development ](#game-development )
2014-07-21 08:56:17 +03:00
- [Games ](#games )
2014-07-20 16:02:45 +03:00
- [GUI ](#gui )
2014-07-20 17:30:14 +03:00
- [Network programming ](#network-programming )
2014-07-20 17:31:40 +03:00
- [Template engine ](#template-engine )
2014-07-23 16:47:33 +03:00
- [Testing ](#testing )
2014-07-20 17:30:14 +03:00
- [Web programming ](#web-programming )
2014-07-17 16:05:35 +03:00
- [Resources ](#resources )
2014-07-17 14:02:40 +03:00
2014-07-17 13:47:44 +03:00
2014-07-17 16:05:35 +03:00
## Code
2014-07-18 09:24:50 +03:00
### Audio
* [bjz/openal-rs ](https://github.com/bjz/openal-rs/ ) — [OpenAL 1.1 ](http://www.openal.org/ ) bindings
2014-07-18 09:27:52 +03:00
* [JeremyLetang/ears ](https://github.com/JeremyLetang/ears ) — a simple library to play Sounds and Musics, on top of OpenAL and libsndfile [<img src="https://travis-ci.org/jeremyletang/ears.png?branch=master"> ](https://travis-ci.org/JeremyLetang/ears )
2014-07-18 09:28:37 +03:00
* [JeremyLetang/rust-portaudio ](https://github.com/JeremyLetang/rust-portaudio ) — [PortAudio ](http://www.portaudio.com/ ) bindings [<img src="https://travis-ci.org/jeremyletang/rust-portaudio.png?branch=master"> ](https://travis-ci.org/JeremyLetang/rust-portaudio )
2014-07-20 15:47:58 +03:00
* [musitdev/rust-portmidi ](https://github.com/musitdev/rust-portmidi ) — [PortMidi ](http://portmedia.sourceforge.net/portmidi/ ) bindings [<img src="https://travis-ci.org/musitdev/rust-portmidi.png?branch=master"> ](https://travis-ci.org/musitdev/rust-portmidi )
2014-07-18 09:24:50 +03:00
2014-07-20 17:24:03 +03:00
### Build system
* [Cargo ](http://crates.io ) — the Rust package manager
* CMake
2014-07-20 17:26:03 +03:00
* [SiegeLord/RustCMake ](https://github.com/SiegeLord/RustCMake ) — an example project showing usage of CMake with Rust [<img src="https://travis-ci.org/SiegeLord/RustCMake.png?branch=master"> ](https://travis-ci.org/SiegeLord/RustCMake )
2014-07-20 17:24:03 +03:00
* Make
* [PistonDevelopers/rust-empty ](https://github.com/PistonDevelopers/rust-empty ) — a Makefile to get started with Rust
2014-07-26 13:38:16 +03:00
### Command-line argument parsing
2014-08-05 10:56:26 +03:00
* [docopt/docopt.rs ](https://github.com/docopt/docopt.rs ) — a [DocOpt ](http://docopt.org ) port to Rust
2014-07-26 13:38:16 +03:00
* [wycats/hammer.rs ](https://github.com/wycats/hammer.rs ) —
2014-07-17 17:31:09 +03:00
### Compression
2014-07-20 15:48:54 +03:00
* [lifthrasiir/rust-zip ](https://github.com/lifthrasiir/rust-zip ) — read and write ZIP archives [<img src="https://travis-ci.org/lifthrasiir/rust-zip.png?branch=master"> ](https://travis-ci.org/lifthrasiir/rust-zip )
2014-07-17 17:31:09 +03:00
2014-07-18 09:35:53 +03:00
### Computation
2014-07-18 09:35:28 +03:00
* [eholk/rust-opencl ](https://github.com/eholk/rust-opencl ) — [OpenCL ](https://www.khronos.org/opencl/ ) bindings [<img src="https://travis-ci.org/eholk/rust-opencl.png?branch=master"> ](https://travis-ci.org/eholk/rust-opencl )
2014-07-17 17:34:35 +03:00
### Cryptography
2014-07-20 15:46:09 +03:00
* [DaGenix/rust-crypto ](https://github.com/DaGenix/rust-crypto ) — cryptographic algorithms in Rust [<img src="https://travis-ci.org/DaGenix/rust-crypto.png?branch=master"> ](https://travis-ci.org/DaGenix/rust-crypto )
2014-10-07 21:50:15 +03:00
* [dnaq/sodiumoxide ](https://github.com/dnaq/sodiumoxide ) — [libsodium ](https://github.com/jedisct1/libsodium ) bindings
2014-07-17 18:08:04 +03:00
* [sfackler/rust-openssl ](https://github.com/sfackler/rust-openssl ) — OpenSSL bindings [<img src="https://travis-ci.org/sfackler/rust-openssl.png?branch=master"> ](https://travis-ci.org/sfackler/rust-openssl )
2014-07-17 17:34:35 +03:00
2014-07-20 17:06:24 +03:00
### Database
* SQL
* MySql
2014-07-20 17:08:45 +03:00
* [blackbeam/rust-mysql-simple ](https://github.com/blackbeam/rust-mysql-simple ) — a native MySql client [<img src="https://travis-ci.org/blackbeam/rust-mysql-simple.png?branch=master"> ](https://travis-ci.org/blackbeam/rust-mysql-simple )
2014-07-20 17:06:24 +03:00
* PostgreSql
2014-07-20 17:08:45 +03:00
* [sfackler/rust-postgres ](https://github.com/sfackler/rust-postgres ) — a native [PostgreSQL ](http://www.postgresql.org ) client [<img src="https://travis-ci.org/sfackler/rust-postgres.png?branch=master"> ](https://travis-ci.org/sfackler/rust-postgres )
2014-07-20 17:06:24 +03:00
* Sqlite
2014-08-14 10:18:43 +03:00
* [linuxfood/rustsqlite ](https://github.com/linuxfood/rustsqlite ) — [Sqlite3 ](http://www.sqlite.org ) bindings
2014-07-20 17:06:24 +03:00
2014-07-20 15:56:41 +03:00
### Encoding
* Cap'n Proto
* [dwrensha/capnproto-rust ](https://github.com/dwrensha/capnproto-rust ) — [<img src="https://travis-ci.org/dwrensha/capnproto-rust.png?branch=master"> ](https://travis-ci.org/dwrensha/capnproto-rust )
* Character Encoding
2014-07-21 10:08:47 +03:00
* [lifthrasiir/rust-encoding ](https://github.com/lifthrasiir/rust-encoding ) — [<img src="https://travis-ci.org/lifthrasiir/rust-encoding.png?branch=master"> ](https://travis-ci.org/lifthrasiir/rust-encoding )
2014-07-20 15:56:41 +03:00
* CSV
* [BurntSushi/rust-csv ](https://github.com/BurntSushi/rust-csv ) — [<img src="https://api.travis-ci.org/BurntSushi/rust-csv.png"> ](https://travis-ci.org/BurntSushi/rust-csv )
* [Geal/rust-csv ](https://github.com/Geal/rust-csv ) — [<img src="https://travis-ci.org/Geal/rust-csv.png?branch=master"> ](https://travis-ci.org/Geal/rust-csv )
* MsgPck
* [mneumann/rust-msgpack ](https://github.com/mneumann/rust-msgpack ) — [<img src="https://travis-ci.org/mneumann/rust-msgpack.png?branch=master"> ](https://travis-ci.org/mneumann/rust-msgpack )
* ProtocolBuffers
* [stepancheg/rust-protobuf ](https://github.com/stepancheg/rust-protobuf ) — [<img src="https://travis-ci.org/stepancheg/rust-protobuf.png?branch=master"> ](https://travis-ci.org/stepancheg/rust-protobuf )
* TOML
2014-07-20 15:58:07 +03:00
* [alexcrichton/toml-rs ](https://github.com/alexcrichton/toml-rs ) —
2014-07-20 15:56:41 +03:00
* Tnetstring
* [erickt/rust-tnetstring ](https://github.com/erickt/rust-tnetstring ) — [<img src="https://travis-ci.org/erickt/rust-tnetstring.png?branch=master"> ](https://travis-ci.org/erickt/rust-tnetstring )
* XML
* [bjz/sax-rs ](https://github.com/bjz/sax-rs ) — bindings to libxml2's SAX parser [<img src="https://travis-ci.org/bjz/sax-rs.png?branch=master"> ](https://travis-ci.org/bjz/sax-rs )
2014-07-20 15:58:07 +03:00
* [DanielFath/xml-parser ](https://github.com/DanielFath/xml-parser ) — A hybrid pull, DOM parser written in pure Rust [![Build Status ](https://travis-ci.org/DanielFath/xml-parser.png?branch=master )](https://travis-ci.org/DanielFath/xml-parser)
2014-07-27 21:52:09 +03:00
* [Florob/RustyXML ](https://github.com/Florob/RustyXML ) — an XML parser written in Rust [<img src="https://travis-ci.org/Florob/RustyXML.png?branch=master"> ](https://travis-ci.org/Florob/RustyXML )
* [netvl/rust-xml ](https://github.com/netvl/rust-xml ) — a streaming XML library [<img src="https://travis-ci.org/netvl/rust-xml.png?branch=master"> ](https://travis-ci.org/netvl/rust-xml )
2014-07-20 15:56:41 +03:00
2014-07-21 09:21:16 +03:00
### Game development
* [JeremyLetang/rustenstein3D/ ](https://github.com/JeremyLetang/rustenstein3D/ ) — a raycasting engine in rust
2014-07-21 08:59:17 +03:00
### Games
2014-07-21 08:56:17 +03:00
2014-08-05 11:01:06 +03:00
* [lifthrasiir/angolmois-rust ](https://github.com/lifthrasiir/angolmois-rust ) — a minimalistic music video game which supports the BMS format [<img src="https://travis-ci.org/lifthrasiir/angolmois-rust.png?branch=master"> ](https://travis-ci.org/lifthrasiir/angolmois-rust )
2014-07-21 08:57:41 +03:00
2014-07-20 16:02:45 +03:00
### GUI
2014-07-20 15:56:41 +03:00
2014-07-20 16:02:45 +03:00
* Cocoa
* [mozilla-servo/rust-cocoa ](https://github.com/mozilla-servo/rust-cocoa ) —
* Gtk
2014-07-27 21:55:58 +03:00
* [JeremyLetang/rgtk ](https://github.com/JeremyLetang/rgtk ) — [GTK+ ](http://www.gtk.org ) bindings [<img src="https://travis-ci.org/jeremyletang/rgtk.png?branch=master"> ](https://travis-ci.org/jeremyletang/rgtk )
2014-07-20 16:02:45 +03:00
* ncurses
* [jeaye/ncurses-rs ](https://github.com/jeaye/ncurses-rs ) — [![Build Status ](https://travis-ci.org/jeaye/ncurses-rs.png?branch=master )](https://travis-ci.org/jeaye/ncurses-rs.png)
2014-08-06 11:34:31 +03:00
* SDL
* [AngryLawyer/rust-sdl2 ](https://github.com/AngryLawyer/rust-sdl2 ) — [SDL2 ](http://www.libsdl.org/ ) bindings [![Build Status ](https://travis-ci.org/AngryLawyer/rust-sdl2.png?branch=master )](https://travis-ci.org/AngryLawyer/rust-sdl2)
* [brson/rust-sdl ](https://github.com/brson/rust-sdl ) — [SDL ](http://www.libsdl.org/ ) bindings [<img src="https://travis-ci.org/brson/rust-sdl.png?branch=master"> ](https://travis-ci.org/brson/rust-sdl )
2014-07-20 16:02:45 +03:00
* Termbox
2014-07-23 16:57:47 +03:00
* [gchp/rustbox ](https://github.com/gchp/rustbox ) — a Rust implementation of [termbox ](http://github.com/nsf/termbox ).
2014-07-20 15:56:41 +03:00
2014-07-20 17:30:14 +03:00
### Network programming
* ZeroMQ
2014-07-27 21:46:09 +03:00
* [erickt/rust-zmq ](https://github.com/erickt/rust-zmq ) — [ZeroMQ ](http://zeromq.org ) bindings [<img src="https://travis-ci.org/erickt/rust-zmq.png?branch=master"> ](https://travis-ci.org/erickt/rust-zmq )
2014-07-20 17:30:14 +03:00
2014-07-20 17:31:40 +03:00
### Template engine
* Mustache
2014-07-21 09:22:09 +03:00
* [erickt/rust-mustache ](https://github.com/erickt/rust-mustache ) — [<img src="https://travis-ci.org/erickt/rust-mustache.png?branch=master"> ](https://travis-ci.org/erickt/rust-mustache )
2014-07-20 17:31:40 +03:00
2014-07-23 16:47:33 +03:00
### Testing
2014-07-29 08:48:04 +03:00
* [BurntSushi/quickcheck ](https://github.com/BurntSushi/quickcheck ) — property-based testing using randomly generated input. [<img src="https://travis-ci.org/BurntSushi/quickcheck.png?branch=master"> ](https://travis-ci.org/BurntSushi/quickcheck )
2014-07-23 16:47:33 +03:00
* [farcaller/shiny ](https://github.com/farcaller/shiny ) — a fancy syntax similar to ruby's rspec or Objective-C's kiwi.
2014-07-20 17:30:14 +03:00
### Web programming
2014-07-17 13:47:44 +03:00
See also http://arewewebyet.com/
* core
2014-07-18 10:04:07 +03:00
* [chris-morgan/rust-http ](https://github.com/chris-morgan/rust-http ) — will be replaced by [Teepee ](http://teepee.rs/ ). [<img src="https://travis-ci.org/chris-morgan/rust-http.png?branch=master"> ](https://travis-ci.org/chris-morgan/rust-http )
2014-09-25 19:36:53 +03:00
* [hyperium/hyper ](https://github.com/hyperium/hyper ) — [<img src="https://travis-ci.org/hyperium/hyper.png?branch=master"> ](https://travis-ci.org/hyperium/hyper )
2014-07-17 13:47:44 +03:00
* client
2014-07-17 18:08:04 +03:00
* [carllerche/curl-rust ](https://github.com/carllerche/curl-rust ) — [libcurl ](http://curl.haxx.se/libcurl/ ) bindings
2014-07-28 08:55:56 +03:00
* [vhbit/curl-rs ](https://github.com/vhbit/curl-rs ) — [libcurl ](http://curl.haxx.se/libcurl/ ) bindings [<img src="https://travis-ci.org/vhbit/curl-rs.png?branch=master"> ](https://travis-ci.org/vhbit/curl-rs )
2014-07-17 13:47:44 +03:00
* server
2014-07-20 15:50:45 +03:00
* [erickt/rust-mongrel2 ](https://github.com/erickt/rust-mongrel2 ) — [Mongrel2 ](http://mongrel2.org ) bindings [<img src="https://travis-ci.org/erickt/rust-mongrel2.png?branch=master"> ](https://travis-ci.org/erickt/rust-mongrel2 )
2014-07-18 10:17:52 +03:00
* [Iron ](http://ironframework.io/ ) — inspired by [Express ](http://expressjs.com/ ). [<img src="https://travis-ci.org/iron/iron.png?branch=master"> ](https://travis-ci.org/iron/iron )
2014-07-18 09:19:11 +03:00
* [Nickel ](http://nickel.rs/ ) — inspired by [Express ](http://expressjs.com/ ).
2014-07-18 09:16:18 +03:00
2014-07-17 16:05:35 +03:00
## Resources
2014-07-20 17:12:39 +03:00
2014-07-17 16:05:35 +03:00
* [Rust by Example ](http://rustbyexample.com/ )
2014-07-20 17:12:39 +03:00
* [Rust CI ](http://www.rust-ci.org ) — a [Travis CI ](https://travis-ci.com ) dashboard for Rust projects
2014-07-20 17:16:56 +03:00
* [Rust Guidelines ](http://aturon.github.io )