xvxx / minimal-rust

πŸ¦€ a list of (mostly) zero dependency libraries for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Rust

This is a list of Rust libraries which have zero, one, or two total dependencies with default-features = false, as reported by cargo tree.

Some of these trade dependencies for completeness, meaning they have a limited amount of features compared to their more well-known cousins, while some of these are the more well-known cousins and are listed because they already have minimal dependencies, like memchr.

For a great list of major Rust crates without any pedantry around dependencies:

For information on how to reduce your Rust binary's total size:


The List

Crate Desc Dependencies† Links
pico-args CLI Args Parser 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
climake CLI Args Parser 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
seahorse CLI Framework 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
nanorand Random Numbers 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
sval De/Serializer 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
json JSON Parser 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
tinyjson JSON Parser/Generator 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
tini INI Parser 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
minreq HTTP Client 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
httparse HTTP Parser 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
percent-encoding Percent Encoding 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
lazy_static Runtime Globals 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
anyhow Error Trait 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
ryu Float to String 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
bytes Bytes Utility 0 πŸ“¦ β€’ πŸ“š β€’ 🏠
memchr Search Bytes 0 πŸ“¦ β€’ πŸ“š β€’ 🏠

One dependency

Crate Desc Dependencies† Links
csv-core CSV Reader/Writer 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
quick-xml XML Parser/Generator 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
nanoserde De/Serializer 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
popol Non-Blocking IO 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
rs-complete Tab Completion 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
libc-strftime Time Formatter 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
bstr Byte Strings 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
aho-corasick Find Substrings 1 πŸ“¦ β€’ πŸ“š β€’ 🏠
ropey Rope Type 1 πŸ“¦ β€’ πŸ“š β€’ 🏠

Two dependencies

Crate Desc Dependencies† Links
indexmap Insertion-Ordered Map 2 πŸ“¦ β€’ πŸ“š β€’ 🏠
fuzzy-matcher Fuzzy Find 2 πŸ“¦ β€’ πŸ“š β€’ 🏠

† Dependency count is determined by running cargo tree on an empty project with the crate included with default-features = false. Specifically running make count CRATE=<name> from the root of this repo.

About

πŸ¦€ a list of (mostly) zero dependency libraries for Rust


Languages

Language:Rust 89.5%Language:Makefile 10.5%