{"id":14991933,"url":"https://github.com/sunface/new-rusty-book","last_synced_at":"2025-04-30T17:06:35.915Z","repository":{"id":228491443,"uuid":"774134623","full_name":"sunface/new-rusty-book","owner":"sunface","description":"A curated list of recipes and repos that can be used to build your rusty projects. Rusty Book = Cookbook + Awesome Rust！","archived":false,"fork":false,"pushed_at":"2024-03-19T02:12:19.000Z","size":2884,"stargazers_count":203,"open_issues_count":1,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-30T17:06:24.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rusty.course.rs","language":"Handlebars","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sunface.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-19T02:08:14.000Z","updated_at":"2025-04-29T05:34:29.000Z","dependencies_parsed_at":"2024-03-19T03:37:19.740Z","dependency_job_id":null,"html_url":"https://github.com/sunface/new-rusty-book","commit_stats":null,"previous_names":["sunface/new-rusty-book"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Fnew-rusty-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Fnew-rusty-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Fnew-rusty-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sunface%2Fnew-rusty-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sunface","download_url":"https://codeload.github.com/sunface/new-rusty-book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251748947,"owners_count":21637418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T15:00:36.395Z","updated_at":"2025-04-30T17:06:35.885Z","avatar_url":"https://github.com/sunface.png","language":"Handlebars","funding_links":[],"categories":["Summary"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eRusty Book( 锈书 )\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/studyrs/rusty-book/blob/main/assets/banner.gif?raw=true\" /\u003e\n\u003c/div\u003e\n   \n\u003cdiv align=\"center\"\u003e\n\n    \n在线阅读: https://rusty.course.rs\n\u003c/div\u003e\n\n在 Rust 元宇宙，夸奖别人的最高境界就是 `rusty`: 今天你\"锈\"了吗? 你的 Rust 代码好锈啊！而本书，就是精选了各种开源库和代码片段，帮助大家打造优\"锈\"的 Rust 项目。\n\n总之，如果有以下需求，那看锈书就对了：\n\n- 想要知道现在优秀的、关注度高的 Rust 项目有哪些\n\n- 发现一些好玩、有趣、酷炫的开源库\n\n- 需要寻找某个类型的库，例如，一个 HTTP 客户端或 ProtoBuffer 编码库，要求是好用、更新活跃、高质量\n\n- 想要寻找常用操作的代码片段，用于熟悉 Rust 或者直接复制粘贴到自己的项目中，例如文件操作、数据库操作、HTTP 请求、排序算法、正则等\n\n\n细心的同学可能会发现，1-3 对应的是 [awesome-rust](https://github.com/rust-unofficial/awesome-rust), 4 对应的是 [rust-cookbook](https://github.com/rust-lang-nursery/rust-cookbook)，那么锈书除了整合两块内容，合二为一外，还有其它的优点吗？\n\n## 它们存在的问题\n\n**awesome-rust，最大的问题就是里面的内容鱼龙混**。低质量的、几年不更新的、分类不准的比比皆是，而且缺乏对项目的详细分析介绍，更多的就是把所有东西给你列出来，告诉你：诺，这几十个都是你想要的，自己挑吧。至于为什么会这样，根源在于它允许任何人去提交自己的库的链接，几乎没有做任何筛选。\n\n所以，个人觉得不应该叫 awesome-rust，叫 all-rust 更为合适。如果存在疑义的同学，可以自己调研一番，再跟锈书的项目对比下，就明白我所言是否有虚了。\n\n\n对于开发者而言，Cookbook 非常实用，几乎每一门编程语言都是如此。原因无他：聪明的开发者大部分时间不是在复制粘贴就是在复制粘贴的路上。而 CookBook 恰恰为各种实用场景提供了可供直接复制粘贴的代码，例如网络协议、数据库和文件操作、随机数生成、命令行解析等。\n\n**但目前的 Rust Cookbook 更新非常不活跃，里面缺少了大量实用库，还有一些过时的老库**。\n\n哦对了，还有一点，它们都不是中文的，而锈书是基于中文写的，很快还将翻译成英文。\n\n## 我们的优势\n\n既然列出了别人的缺点，那我们自然是为了解决这些问题而来的。总的来说，锈书有以下特点：\n\n- 分类更加清晰、实用，也更方便于用户找到想要的库\n\n- 所有的库都是精选的，就算通过 PR 提交的，也必须经过我们的严格审核后，再能加入\n\n- 长期不更新的库( 一些已经稳定的工具库除外 )要坚决的移除\n\n- 每一个库都有较为详细的介绍甚至是配图，让大家争取不用进到项目里调查一番，就知道该项目的详细用途\n\n## 社区贡献\n\n欢迎大家提交任何类型的 PR：好的库、实用的代码片段、内容和文字勘误等等，一切的一切对我们来说都特别宝贵，对于贡献高的用户，我们还将在未来送上神秘礼物和惊喜。\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunface%2Fnew-rusty-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunface%2Fnew-rusty-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunface%2Fnew-rusty-book/lists"}