「 rust 游乐场 」
版本 | 与日期 | 最新更新 | 更多 |
---|---|---|---|
commit | ⏰ 2018-09-23 | 源码解释 |
https://github.com/chinanf-boy/rust-playground-zh
help me live , live need money 💰
有三种类别文件:
- 前端-React: `rust-playground/ui/frontend/
- 后端-rust:
rust-playground/ui/Cargo.toml
- Docker:
rust-playground/compiler/
root:
rust-playground/ui/
一个 rust-Cargo 库的根本, 如同 package.json
rust - javascript Cargo - npm Cargo.toml - package.json
[package]
authors = ["Jake Goulding <jake.goulding@integer32.com>"]
name = "ui"
version = "0.1.0"
[features]
default = ['fork-bomb-prevention'] # 这个features, 被使用过滤定制功能
fork-bomb-prevention = []
[dependencies]
bodyparser = "0.8.0"
corsware = "0.2.0"
env_logger = "0.5.0"
iron = "0.6.0"
lazy_static = "1.0.0"
log = "0.4.0"
mktemp = "0.3.1"
mount = "0.4.0"
petgraph = "0.4.13"
quick-error = "1.1.0"
regex = "1.0.0"
rustc-demangle = "0.1.5"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
url = "1.4.0"
hubcaps = "0.4.8"
tokio-core = "0.1.12"
hyper = "0.11.21"
hyper-tls = "0.1.2"
router = "0.6.0"
openssl-probe = "0.1.2"
dotenv = "0.13.0"
[dependencies.playground-middleware]
git = "https://github.com/integer32llc/playground-middleware"
因为较多, 但思路很明显, 选择其中比较重要的一环, 不知道为什么类型代码真的多过逻辑代码
docker 所在
如果你想测试 容器的变化
docker pull 项目
- build.sh 这里和下面差不多, 只是混合一些环境变量, 看看有没有容器变化
如果你只想获得 当前的docker游乐场
#!/bin/bash
set -euv -o pipefail
repository=shepmaster
for image in rust-stable rust-beta rust-nightly rustfmt clippy miri; do
docker pull "${repository}/${image}"
# The backend expects images without a repository prefix
docker tag "${repository}/${image}" "${image}"
done