@@ -5,6 +5,67 @@ My solutions for https://rustplatform.com/
55
66(placeholder)
77
8- ### exercises_downloader
8+ ## exercises_downloader
99
10- (placeholder)
10+ - compile the downloader
11+ ``` shell
12+ cd exercises_downloader && \
13+ cargo build --release
14+ ```
15+ - cd back to the project main directory
16+ ``` shell
17+ cd ..
18+ ```
19+ - run the downloader from the project main directory
20+ ``` shell
21+ ./exercises_downloader/target/release/exercises_downloader
22+ ```
23+ - the downloader will create ` exercises ` in the current directory
24+
25+ Alternatively, use the Makefile
26+ ``` shell
27+ make download-exercises
28+ ```
29+
30+ <details ><summary >(Output example ...)</summary >
31+
32+ ``` shell
33+ pybites_rust [ main][+]
34+ ➜ make download-exercises
35+ make build-executable && \
36+ exercises_downloader/target/release/exercises_downloader && \
37+ echo ... all done
38+ make[1]: Entering directory ' /my/home/github/pybites_rust'
39+ cd exercises_downloader && \
40+ cargo build --release
41+ Finished ` release` profile [optimized] target(s) in 0.06s
42+ make[1]: Leaving directory ' /my/home/github/pybites_rust'
43+ Downloading the exercises from Pybites Rust (rustplatform.com) ✅
44+ ' exercises' will be created in the current directory (/my/home/github/pybites_rust/exercises)
45+ 21 exercises found!
46+
47+ " Strings and Slices" ✅
48+ " URL Query Parameter Parser" ✅
49+ " Hello Rustacean" ✅
50+ " Vectors and Vec" ✅
51+ " Variables and Mutability" ✅
52+ " Json Serialization" ✅
53+ " Simple Calculations" ✅
54+ " Working with Enums" ✅
55+ " Vowel Counter" ✅
56+ " Using Structs in Rust" ✅
57+ " Fibonacci Sequence" ✅
58+ " Primitive Types" ✅
59+ " Basic Tokenizer" ✅
60+ " Reverse a String" ✅
61+ " Variable Assigment and Mutability" ✅
62+ " Ownership and Borrowing" ✅
63+ " Scopes and Shadowing" ✅
64+ " Function Return Values" ✅
65+ " Result Handling" ✅
66+ " Basic Struct" ✅
67+ " Control Flow" ✅
68+ ... all done
69+ ```
70+
71+ </details >
0 commit comments