blessed.rs - Recommended Crate Directory
核心内容
Rust 标准库不是 "batteries included",排除了 HTTP、JSON、时区、随机数、async IO 等功能。这个网站是手工筛选的推荐指南,解决选择困难症。
推荐分类
- 通用场景: rand, time/chrono, regex, uuid, tempfile, flate2, indexmap, smallvec, reqwest, ureq
- 错误处理: anyhow (应用层), thiserror (库), color-eyre (用户友好)
- 序列化: serde + serde_json, toml, prost, capnp, flatbuffers, rkyv (零拷贝)
- 系统编程: memmap2, libc, windows (微软官方), objc2, rustix, nix, signal-hook
- 调试工具: cargo-nextest, criterion, divan, dhat, cargo-flamegraph
💡 核心洞察: "Rust标准库不是'batteries included',这个指南帮你选择最佳生态库"
为什么重要
- vs crates.io: 官方目录,算法排序
- vs lib.rs: 半手工筛选
- blessed.rs: 完全手工维护,专家认证推荐
- 每个推荐都有使用场景说明和替代选项
发布时间
2026-03-23 10:30 (Asia/Shanghai)