This project is all set up to be used with GitHub Codespaces. Fork this repository and spin up a codespace on your own.
After booting up codespaces, you find yourself in a VSCode like setup. Enter the command line and run
$ cargo run
If you see compile information and Hello, world!
printed out on your command line, you are ready to go!
If you see
Blocking waiting for file lock on build directory
... just wait for a bit. Codespaces is activating all plug-ins.
Before the workshop, make sure you have the correct tools installed and verified. You need:
- Rustup Toolchain
- An editor of your choice (we highly recommmend VSCode + Extensions)
telnet
or similar to test your applications
Rustup provides you with all the software to compile and run Rust applications, e.g.
- Cargo - build tool and package manager
rustfmt
- Auto-formatting tool for Rust codeclippy
- Linting for common mistakes
and many more. Rustup also allows you to install different compile targets and multiple toolchains, as well as keeping your toolchains up to date.
After installing, you should have a set of new command line tools available.
Verify your Rust installation:
-
Open a Terminal/Shell of your choice
-
Navigate to this projects folder
-
Enter
-
Build and run
$ cargo run
If you see compile information and Hello, world!
printed out on your command line, you are ready to go!