{"id":15893804,"url":"https://github.com/chinanf-boy/rust-playground-explain","last_synced_at":"2026-05-19T09:08:22.471Z","repository":{"id":90548516,"uuid":"151816291","full_name":"chinanf-boy/rust-playground-explain","owner":"chinanf-boy","description":"explain: \u003crust-playground\u003e rust 的游乐场 ❤️ explain 中","archived":false,"fork":false,"pushed_at":"2018-10-09T01:28:09.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T18:16:09.847Z","etag":null,"topics":["docker","docs","explain","rust","zh"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chinanf-boy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2018-10-06T07:38:19.000Z","updated_at":"2018-10-09T01:28:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ceb5bb38-bef0-4fa5-a5c1-4f6204283831","html_url":"https://github.com/chinanf-boy/rust-playground-explain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chinanf-boy/rust-playground-explain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Frust-playground-explain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Frust-playground-explain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Frust-playground-explain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Frust-playground-explain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinanf-boy","download_url":"https://codeload.github.com/chinanf-boy/rust-playground-explain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2Frust-playground-explain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33209550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docs","explain","rust","zh"],"created_at":"2024-10-06T08:13:46.018Z","updated_at":"2026-05-19T09:08:22.442Z","avatar_url":"https://github.com/chinanf-boy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# integer32llc/rust-playground [![explain]][source] [![translate-svg]][translate-list]\n\n\u003c!-- [![size-img]][size] --\u003e\n\n[explain]: http://llever.com/explain.svg\n[source]: https://github.com/chinanf-boy/Source-Explain\n[translate-svg]: http://llever.com/translate.svg\n[translate-list]: https://github.com/chinanf-boy/rust-playground-zh\n[size-img]: https://packagephobia.now.sh/badge?p=Name\n[size]: https://packagephobia.now.sh/result?p=Name\n\n「 rust 游乐场 」\n\n---\n\n## explain 🀄️\n\n\u003c!-- doc-templite START generated --\u003e\n\u003c!-- docTempliteId = 'github' --\u003e\n\u003c!-- time = '2018-09-23' --\u003e\n\u003c!-- name = 'integer32llc' --\u003e\n\u003c!-- repo = 'rust-playground' --\u003e\n\u003c!-- commit = 'c54773e3b2112bd9d92297fa5af73ee80f58618b' --\u003e\n版本 | 与日期 | 最新更新 | 更多\n---|---|---|---\n[commit] | ⏰ 2018-09-23 | ![version] | [源码解释][source]\n\n[commit]: https://github.com/integer32llc/rust-playground/tree/c54773e3b2112bd9d92297fa5af73ee80f58618b\n[version]: https://img.shields.io/github/last-commit/integer32llc/rust-playground.svg\n\n\u003c!-- doc-templite END generated --\u003e\n\n### 中文\n\nhttps://github.com/chinanf-boy/rust-playground-zh\n\n## 生活\n\n[help me live , live need money 💰](https://github.com/chinanf-boy/live-need-money)\n\n---\n\n\u003e 先看看 [rust-playground \u003e readme.md][translate-list]\n\n## 根据源库\n\n有三种类别文件:\n\n1. 前端-React: `rust-playground/ui/frontend/\n2. 后端-rust: `rust-playground/ui/Cargo.toml`\n3. Docker: `rust-playground/compiler/`\n\n## 后端为主要讲解\n\n\u003e root:`rust-playground/ui/`\n\n### Cargo.toml\n\n一个 rust-Cargo 库的根本, 如同 package.json\n\n\u003e rust - javascript\n\u003e Cargo - npm \n\u003e Cargo.toml - package.json\n\n``` toml\n[package]\nauthors = [\"Jake Goulding \u003cjake.goulding@integer32.com\u003e\"]\nname = \"ui\"\nversion = \"0.1.0\"\n\n[features]\ndefault = ['fork-bomb-prevention'] # 这个features, 被使用过滤定制功能\nfork-bomb-prevention = []\n\n[dependencies]\nbodyparser = \"0.8.0\"\ncorsware = \"0.2.0\"\nenv_logger = \"0.5.0\"\niron = \"0.6.0\"\nlazy_static = \"1.0.0\"\nlog = \"0.4.0\"\nmktemp = \"0.3.1\"\nmount = \"0.4.0\"\npetgraph = \"0.4.13\"\nquick-error = \"1.1.0\"\nregex = \"1.0.0\"\nrustc-demangle = \"0.1.5\"\nserde = \"1.0\"\nserde_derive = \"1.0\"\nserde_json = \"1.0\"\nurl = \"1.4.0\"\nhubcaps = \"0.4.8\"\ntokio-core = \"0.1.12\"\nhyper = \"0.11.21\"\nhyper-tls = \"0.1.2\"\nrouter = \"0.6.0\"\nopenssl-probe = \"0.1.2\"\ndotenv = \"0.13.0\"\n\n[dependencies.playground-middleware]\ngit = \"https://github.com/integer32llc/playground-middleware\"\n\n```\n\n### src/main.rs\n\n- [x] [src/main.rs](./src/main.md)\n\n\u003e 因为较多, 但思路很明显, 选择其中比较重要的一环, 不知道为什么类型代码真的多过逻辑代码\n\n## compiler/*\n\ndocker 所在 \n\n### compiler/build.sh\n\n\u003e 如果你想测试 容器的变化\n\ndocker pull 项目\n\n- [x] [build.sh](./src/compiler/build.md) 这里和下面差不多, 只是混合一些环境变量, 看看有没有容器变化\n\n### compiler/fetch.sh\n\n\u003e 如果你只想获得 当前的docker游乐场\n\n``` bash\n#!/bin/bash\n\nset -euv -o pipefail\n\nrepository=shepmaster\n\nfor image in rust-stable rust-beta rust-nightly rustfmt clippy miri; do\n    docker pull \"${repository}/${image}\"\n    # The backend expects images without a repository prefix\n    docker tag \"${repository}/${image}\" \"${image}\"\ndone\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Frust-playground-explain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinanf-boy%2Frust-playground-explain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2Frust-playground-explain/lists"}