diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-02-19 19:25:11 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-02-19 19:25:11 +0100 |
commit | 97a3274a775d0fbd8f5fb3ad16c3381caab83251 (patch) | |
tree | c2fc6cc5cd9233053d5f0da35afdda88bff82a31 /hello_cargo |
init
Diffstat (limited to 'hello_cargo')
-rw-r--r-- | hello_cargo/.gitignore | 1 | ||||
-rw-r--r-- | hello_cargo/Cargo.lock | 7 | ||||
-rw-r--r-- | hello_cargo/Cargo.toml | 6 | ||||
-rw-r--r-- | hello_cargo/src/main.rs | 3 |
4 files changed, 17 insertions, 0 deletions
diff --git a/hello_cargo/.gitignore b/hello_cargo/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/hello_cargo/.gitignore @@ -0,0 +1 @@ +/target diff --git a/hello_cargo/Cargo.lock b/hello_cargo/Cargo.lock new file mode 100644 index 0000000..dd1d0bb --- /dev/null +++ b/hello_cargo/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "hello_cargo" +version = "0.1.0" diff --git a/hello_cargo/Cargo.toml b/hello_cargo/Cargo.toml new file mode 100644 index 0000000..0f4a343 --- /dev/null +++ b/hello_cargo/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "hello_cargo" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/hello_cargo/src/main.rs b/hello_cargo/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/hello_cargo/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} |