Playground Rust CLI¶
Simple Rust example, backed by a devcontainer.
It also contains a sample gitlab-ci, a dockerfile to build rust app from scratch, and unit tests.
How to use¶
- Clone this repo.
- Open it using VSCode.
- Install the (1) recommended extension, remote containers.
- Click popup to "Reopen in Container"
- Could take a few minutes to build the first time.
- New terminal will appear once ready and automatically build and run the Rust app.
Notable things¶
- rust gitlab-ci for fmt, clippy, test, docker build-push.
- junit test results integrated in MR
- extremely small docker image
Rust documentation¶
The official documentation is excellent. See for yourself!
https://doc.rust-lang.org/book/title-page.html
Propose changes to this page