add rust hello world

This commit is contained in:
Frank Denzer 2023-06-02 14:47:20 +02:00
parent 2ec9bf80a1
commit a0e980c194
2 changed files with 11 additions and 0 deletions

8
hello_world/Cargo.toml Normal file
View file

@ -0,0 +1,8 @@
[package]
name = "hello_world"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
hello_world/src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}