Initial commit of rust/ directory. First "Hello, rust world!" program.
This commit is contained in:
parent
eb12c8f9cf
commit
18e6cfbb11
3 changed files with 17 additions and 0 deletions
5
rust/Cargo.lock
generated
Normal file
5
rust/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 = "rust"
|
||||
version = "0.1.0"
|
||||
9
rust/Cargo.toml
Normal file
9
rust/Cargo.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[package]
|
||||
name = "rust"
|
||||
version = "0.1.0"
|
||||
authors = ["Ed Braaten <ed.braaten@protonmail.ch>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
3
rust/src/main.rs
Normal file
3
rust/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, rust world!");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue