{"id":13467371,"url":"https://github.com/rust-lang-cn/rust-by-example-cn","last_synced_at":"2025-04-11T06:28:04.511Z","repository":{"id":40253927,"uuid":"54239543","full_name":"rust-lang-cn/rust-by-example-cn","owner":"rust-lang-cn","description":"Rust By Example 中文版(包含在线代码编辑器)","archived":false,"fork":false,"pushed_at":"2024-09-26T06:13:01.000Z","size":5527,"stargazers_count":1894,"open_issues_count":9,"forks_count":302,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-04-03T23:11:36.088Z","etag":null,"topics":["rust","rust-by-example"],"latest_commit_sha":null,"homepage":"http://rustwiki.org/zh-CN/rust-by-example","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-lang-cn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-19T00:36:40.000Z","updated_at":"2025-03-29T00:07:45.000Z","dependencies_parsed_at":"2023-11-23T07:29:56.549Z","dependency_job_id":"b8b1fe01-0839-432a-a255-8ab75c7fd396","html_url":"https://github.com/rust-lang-cn/rust-by-example-cn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frust-by-example-cn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frust-by-example-cn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frust-by-example-cn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang-cn%2Frust-by-example-cn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang-cn","download_url":"https://codeload.github.com/rust-lang-cn/rust-by-example-cn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248353895,"owners_count":21089718,"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":["rust","rust-by-example"],"created_at":"2024-07-31T15:00:55.492Z","updated_at":"2025-04-11T06:28:04.489Z","avatar_url":"https://github.com/rust-lang-cn.png","language":"JavaScript","funding_links":[],"categories":["HTML","JavaScript","Rust","Summary"],"sub_categories":[],"readme":"# 通过例子学 Rust\n\n![Build Status](https://github.com/rust-lang-cn/rust-by-example-cn/workflows/CI/badge.svg)\n[![LICENSE-MIT](https://img.shields.io/badge/license-MIT-green)](https://raw.githubusercontent.com/rust-lang-cn/rust-by-example-cn/master/LICENSE-MIT)\n[![LICENSE-APACHE](https://img.shields.io/badge/license-Apache%202-blue)](https://raw.githubusercontent.com/rust-lang-cn/rust-by-example-cn/master/LICENSE-APACHE)\n[![GitHub last commit](https://img.shields.io/github/last-commit/rust-lang-cn/rust-by-example-cn?color=gold)](https://github.com/rust-lang-cn/rust-by-example-cn/commits/master)\n[![GitHub contributors](https://img.shields.io/github/contributors/rust-lang-cn/rust-by-example-cn?color=pink)](https://github.com/rust-lang-cn/rust-by-example-cn/graphs/contributors)\n![Locatized 100%](https://img.shields.io/badge/localized-100%25-purple)\n[![rustwiki.org](https://img.shields.io/website?up_message=rustwiki.org\u0026url=https%3A%2F%2Frustwiki.org)](https://rustwiki.org)\n\n\u003e Chinese translation of the [Rust By Example][rust-by-example]\n\u003e\n\u003e - 本文档按照 [**Rust 文档翻译指引**](https://github.com/rust-lang-cn/rust-translation-guide)规范进行翻译。\n\u003e - 首次于 2016-08-07 翻译完全部内容，欢迎纠正——最后更新时间 2022-01-26。\n\n通过例子学 Rust，Rust By Example 中文版（包含在线代码编辑器）。\n\n## 使用说明\n\n如果想阅读《通过例子学 Rust》，可以直接访问 Rust 文档网的国际站点 [https://rustwiki.org/zh-CN/rust-by-example/][website-cn] 或国内站点 [https://www.rustwiki.org.cn/zh-CN/rust-by-example/][website-cn-zh]进行在线上阅读（**均支持同一页面中英双语切换**）。（英文阅读地址：[https://doc.rust-lang.org/rust-by-example/][website]）\n\n若想在本地阅读，请先[安装 Rust][install Rust]，然后进行下面操作：\n\n```bash\n$ git clone https://github.com/rust-lang-cn/rust-by-example-cn\n$ cd rust-by-example-cn\n$ cargo install mdbook\n$ mdbook build\n$ mdbook serve\n```\n\n为了能够运行这些示例，你必须要连接到网络；当然你可以离线阅读所有这些内容。\n\n## 如何贡献\n\n请查看 [CONTRIBUTING.md][how-to-contribute] 文件了解详细内容。\n\n## 其他语言版本\n\n- [英语](https://github.com/rust-lang/rust-by-example)\n- [法语](https://github.com/Songbird0/FR_RBE)\n- [日语](https://github.com/rust-lang-ja/rust-by-example-ja)\n- [俄语](https://github.com/ruRust/rust-by-example)\n\n## 授权协议\n\n《通过例子学 Rust》（中文版与英文版 Rust By Example 均） 使用以下两种协议的任一种进行授权：\n\n- Apache 2.0 授权协议，（[LICENSE-APACHE](LICENSE-APACHE) 或 http://www.apache.org/licenses/LICENSE-2.0）\n- MIT 授权协议 ([LICENSE-MIT](LICENSE-MIT) 或 http://opensource.org/licenses/MIT)\n\n可以根据自己选择来定。\n\n除非您有另外说明，否则您在本仓库提交的任何贡献均按上述方式进行双重许可授权，就如 Apache 2.0 协议所规定那样，而无需附加任何其他条款或条件。\n\n[install Rust]: https://www.rust-lang.org/tools/install\n[rust-by-example]: https://github.com/rust-lang/rust-by-example\n[website]: https://doc.rust-lang.org/rust-by-example/\n[website-cn]: https://rustwiki.org/zh-CN/rust-by-example/\n[website-cn-zh]: https://www.rustwiki.org.cn/zh-CN/rust-by-example/\n[how-to-contribute]: CONTRIBUTING.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang-cn%2Frust-by-example-cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang-cn%2Frust-by-example-cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang-cn%2Frust-by-example-cn/lists"}