The Rust Standard Library provides core types like Vec, String, HashMap, and Result, along with modules for I/O, threading, and collections, all accessible via std:: or prelude. You can explore the full list of available modules and types in the official documentation at https://doc.rust-lang.org/std/.
use std::collections::HashMap;
use std::thread;
fn main() {
let mut map = HashMap::new();
map.insert("key", "value");
thread::spawn(|| println!("Hello from thread!"));
}