diff --git a/.gitignore b/.gitignore index 0d5fc57..9d051aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rust_web.pdf /rust_web.tex +/simple_text_board/target diff --git a/rust_web.org b/rust_web.org index 47d460d..1193bb7 100644 --- a/rust_web.org +++ b/rust_web.org @@ -257,6 +257,16 @@ #+LaTeX:\includegraphics[width = 0.7\textwidth]{img/challenge-accepted-lets-code-it.jpg} #+END_CENTER +*** Steps to reproduce :noexport: + +**** Create new crate + #+BEGIN_SRC sh + cargo init simple_text_board + cd simple_text_board + rustup override set nightly + cargo r + #+END_SRC + * Conclusion ** What did we do? diff --git a/simple_text_board/Cargo.lock b/simple_text_board/Cargo.lock new file mode 100644 index 0000000..6b3878d --- /dev/null +++ b/simple_text_board/Cargo.lock @@ -0,0 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "simple_text_board" +version = "0.1.0" diff --git a/simple_text_board/Cargo.toml b/simple_text_board/Cargo.toml new file mode 100644 index 0000000..b779071 --- /dev/null +++ b/simple_text_board/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "simple_text_board" +version = "0.1.0" +authors = ["finga "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/simple_text_board/src/main.rs b/simple_text_board/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/simple_text_board/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}