A list of useful, fundamental, popular and ergonomic rust libraries
Essential Features
Macros
-
Derive Builder (Derive macros to implement the builder pattern)
-
Strum (Enum and String macros)
-
Validator (Struct field validation)
-
Variantly (Derive useful
Option
-like methods for enums) -
Derive More (More derive macros)
-
Fake (Alternative to Fakeit with derive macros)
Popular
-
Clap (Comprehensive CLI argument parsing)
-
Reqwest (Async/Sync HTTP client)
-
SQLx (Simple async database library)
-
Serde JSON (JSON support for serde)
-
Serde (Derive macros for struct serialization)
-
Tokio (Popular async runtime for rust)
-
Tracing Subscriber (Logging Utilities integrating with Tracing)
-
Tracing (Comprehensive Logging)
Utilities
-
Better Panic (Makes panics more readable)
-
Fakeit (Fake data generation for testing)
-
Itertools (Iterator utilities)
-
Pretty Assertions (Make assertion look better)