{"id":13537813,"url":"https://github.com/rust-lang/rust-by-example","last_synced_at":"2025-05-10T04:31:42.465Z","repository":{"id":16375721,"uuid":"19126114","full_name":"rust-lang/rust-by-example","owner":"rust-lang","description":"Learn Rust with examples (Live code editor included)","archived":false,"fork":false,"pushed_at":"2025-04-30T12:20:49.000Z","size":6410,"stargazers_count":7418,"open_issues_count":74,"forks_count":1412,"subscribers_count":149,"default_branch":"master","last_synced_at":"2025-05-08T20:57:14.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://doc.rust-lang.org/stable/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.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,"zenodo":null}},"created_at":"2014-04-24T22:22:40.000Z","updated_at":"2025-05-08T14:37:40.000Z","dependencies_parsed_at":"2023-09-26T15:26:13.561Z","dependency_job_id":"18706e61-a094-4db4-b1b1-1cfee0c8df66","html_url":"https://github.com/rust-lang/rust-by-example","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%2Frust-by-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frust-by-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frust-by-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-lang%2Frust-by-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-lang","download_url":"https://codeload.github.com/rust-lang/rust-by-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253157442,"owners_count":21863123,"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-08-01T09:01:03.955Z","updated_at":"2025-05-08T22:30:09.887Z","avatar_url":"https://github.com/rust-lang.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Others","Handlebars","Credits","Rust","Rust 程序设计","Languages","Summary"],"sub_categories":["网络服务_其他","Rust"],"readme":"# Rust By Example\n\n[![Build Status](https://github.com/rust-lang/rust-by-example/actions/workflows/rbe.yml/badge.svg)](https://github.com/rust-lang/rust-by-example/actions)\n\nLearn Rust with examples (Live code editor included)\n\n## Using\n\nIf you'd like to read Rust by Example, you can visit \u003chttps://doc.rust-lang.org/rust-by-example/\u003e\nto read it online.\n\nIf you'd like to read it locally, [install Rust], and then:\n\n```bash\ngit clone https://github.com/rust-lang/rust-by-example\ncd rust-by-example\ncargo install mdbook\nmdbook build\nmdbook serve\n```\n\n[install Rust]: https://www.rust-lang.org/tools/install\n\nTo be able to run the examples, you must be connected to the internet; you can\nread all content offline, however!\n\n**The following warnings can be ignored safely.**\n\n```text\n[WARN] (mdbook::preprocess::cmd): The command wasn't found, is the \"gettext\" preprocessor installed?\n[WARN] (mdbook::preprocess::cmd):   Command: mdbook-gettext\n```\n\n### Using translated version\n\nIf there is a translated resource in `po/` directory, it can be specified through `MDBOOK_BOOK__LANGUAGE` like below:\n\n```bash\ngit clone https://github.com/rust-lang/rust-by-example\ncd rust-by-example\ncargo install mdbook\nMDBOOK_BOOK__LANGUAGE=ja mdbook build\nMDBOOK_BOOK__LANGUAGE=ja mdbook serve\n```\n\n## Contributing\n\nPlease see the [CONTRIBUTING.md] file for more details.\n\n[CONTRIBUTING.md]: https://github.com/rust-lang/rust-by-example/blob/master/CONTRIBUTING.md\n\n## Translating\n\nPlease see the [TRANSLATING.md] file for more details.\n\n[TRANSLATING.md]: https://github.com/rust-lang/rust-by-example/blob/master/TRANSLATING.md\n\n### Translating guide for each languages\n\n* Japanese/日本語: [TRANSLATING_JA.md]\n\n[TRANSLATING_JA.md]: https://github.com/rust-lang/rust-by-example/blob/master/TRANSLATING_JA.md\n\n## Translations to other languages\n\n* [Bulgarian](https://github.com/kberov/rust-by-example-bg)\n* [Chinese](https://github.com/rust-lang-cn/rust-by-example-cn)\n* [French](https://github.com/Songbird0/FR_RBE)\n* [Russian](https://github.com/ruRust/rust-by-example)\n* [Vietnamese](https://github.com/EyesCrypto-Insights/rust-by-example-vn)\n* [Portuguese](https://github.com/nazarepiedady/rust-com-exemplos)\n\n## License\n\nRust by Example is licensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or\n  \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in Rust by Example by you, as defined in the Apache-2.0 license, shall be\ndually licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Frust-by-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-lang%2Frust-by-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-lang%2Frust-by-example/lists"}