Overview of the Rust standard library (libstd)
mainThe Rust standard library (libstd) provides essential primitives for high-productivity development:
- Filesystem & I/O: Path handling, filesystem access, and I/O traits for files, strings, and sockets.
- Concurrency: Threads, Mutexes, Condition Variables, and Channels.
- Data Structures: Growable arrays (
Vec), hash-tables, B-Trees, and Strings. - Text: First-class Unicode support.
- Networking: IPv4/IPv6, TCP, and UDP support.
- System: Heap allocation, environment variables, CLI arguments, and time handling (
Duration,Instant).