Create Rust project: simple_text_board
This commit is contained in:
parent
8b8febb2d4
commit
0b57113e7f
5 changed files with 28 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
/rust_web.pdf
|
/rust_web.pdf
|
||||||
/rust_web.tex
|
/rust_web.tex
|
||||||
|
/simple_text_board/target
|
||||||
|
|
10
rust_web.org
10
rust_web.org
|
@ -257,6 +257,16 @@
|
||||||
#+LaTeX:\includegraphics[width = 0.7\textwidth]{img/challenge-accepted-lets-code-it.jpg}
|
#+LaTeX:\includegraphics[width = 0.7\textwidth]{img/challenge-accepted-lets-code-it.jpg}
|
||||||
#+END_CENTER
|
#+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
|
* Conclusion
|
||||||
|
|
||||||
** What did we do?
|
** What did we do?
|
||||||
|
|
5
simple_text_board/Cargo.lock
generated
Normal file
5
simple_text_board/Cargo.lock
generated
Normal file
|
@ -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"
|
9
simple_text_board/Cargo.toml
Normal file
9
simple_text_board/Cargo.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[package]
|
||||||
|
name = "simple_text_board"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["finga <finga@onders.org>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
3
simple_text_board/src/main.rs
Normal file
3
simple_text_board/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in a new issue