| Crates.io | otarustlings |
| lib.rs | otarustlings |
| version | 1.0.0 |
| created_at | 2022-04-07 06:15:40.241054+00 |
| updated_at | 2022-10-06 07:01:21.257147+00 |
| description | otafablab rustlings |
| homepage | |
| repository | https://gitlab.com/otafablab/otarustlings |
| max_upload_size | |
| id | 563472 |
| size | 1,265,712 |
otarustlingsotarustlings exercise platform. Clone of rustlings.
The point of otarustlings is to learn Rust with hands on exercises and small projects.
cargo install otarustlings
Requires Rust 1.56 or higher (2021 edition)

The otarustlings exercises are initialized after which the user starts otarustlings to constantly retry compiling and testing the exercise.
The user is supposed to make the exercises compile and pass all the tests.
The semantics of the exercises are usually written as comments. If you see a _ in an invalid position, you need to replace it with something else.
If you see a // TODO or todo!() you are supposed to do what's called programming, or coding, at the position of the comment.
Once the exercise is completed, i.e. it compiles and passes the tests, it is marked with a check mark ✓ in the menu. Try to make all of them green!
initTo create the initial exercise directory structure and write the exercises, use:
otarustlings init
The command creates a directory called exercises in the current directory.
Note:
initdoes not overwrite old exercises.
startTo start testing your changes, use:
otarustlings start
The command must be issued in the parent directory of exercises, i.e. the same directory init was called in.
The first thing that is shown is a menu of the exercises. Using up and down arrows, one can change the selection and pressing enter will start testing it.
All changes to the file are monitored and tested. The test output is shown in the terminal.
To return to menu, press Q or ESC.
To quit otarustlings, press Q or ESC in the menu.