awesome-small-rust

A collection of Rust libraries that are deliberately small, lightweight, and simple, with limited dependencies.


[0️] for libraries that have no dependencies.


Articles on Rust Bloat

https://raphlinus.github.io/rust/2019/08/21/rust-bloat.html

Minimizing Binary Size

https://blog.kodewerx.org/2020/06/the-rust-compiler-isnt-slow-we-are.html


Libraries

pico args [0] -- Argument parsing

nanoserde [0] - Serialization/deserializion

climake [0] -- Command line interface library

email-parser [0]

attohttpc -- HTTP Client

minreq -- HTTP Client

ureq -- HTTP Client

lite-json [0] -- JSON parser

tiny-http -- HTTP Server

vial — micro framework

fastrand -- Non-cryptographically secure random numbers

nanorand

alea -- Non-cryptographcially secure random numbers

getrandom

oorandom

smol -- A small and fast async runtime


Single files and snippets

arg.rs

rand.rs

htmlescape.rs

ini.rs



If you'd like to add to this list, email me:

mailto:alex@alexwennerberg.com



/tech/