remove workspace from the repository, instead generate a zipfile to upload
[rust-101.git] / workspace / src / main.rs
index 771cd19fe8902193a75d9a4edef3acebafd442f1..d804cfba20e0599000ff8d669323a86336c099e8 100644 (file)
@@ -1,10 +1,30 @@
+#![allow(dead_code, unused_imports, unused_variables, unused_mut, unreachable_code)]
+
+// To get started with the course, open the file `part00.rs` in this workspace as well
+// as its [fully explained version](https://www.ralfj.de/projects/rust-101/part00.html).
+// The code below is mostly boilerplate to dispatch into the various parts of the
+// tutorial.
+
+// Only the files imported here will be compiled.
 mod part00;
 mod part01;
 mod part02;
+mod part03;
 mod part04;
+mod part05;
+mod part06;
+mod part07;
+mod part08;
+mod part09;
+mod part10;
+mod part11;
+mod part12;
+mod part13;
+mod part14;
+mod part15;
+mod part16;
 
-#[cfg(not(test))] /* If you get warnings about functions not being used on "crate test", adding this attribute will fix them.
-                     It says that the function is only to be compiled if we are *not* compiling for tests. */
+// This decides which part is actually run.
 fn main() {
    part00::main();
 }