From 97a3274a775d0fbd8f5fb3ad16c3381caab83251 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 19 Feb 2025 19:25:11 +0100 Subject: init --- hello_cargo/.gitignore | 1 + hello_cargo/Cargo.lock | 7 +++++++ hello_cargo/Cargo.toml | 6 ++++++ hello_cargo/src/main.rs | 3 +++ 4 files changed, 17 insertions(+) create mode 100644 hello_cargo/.gitignore create mode 100644 hello_cargo/Cargo.lock create mode 100644 hello_cargo/Cargo.toml create mode 100644 hello_cargo/src/main.rs (limited to 'hello_cargo') 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!"); +} -- cgit v1.2.3