From 487f5e7438b17ca938703e742bfc5db3e9d59ebc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 4 Mar 2025 08:42:49 +0100 Subject: [PATCH] Create a `grep` project --- minigrep/Cargo.lock | 7 +++++++ minigrep/Cargo.toml | 6 ++++++ minigrep/src/main.rs | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 minigrep/Cargo.lock create mode 100644 minigrep/Cargo.toml create mode 100644 minigrep/src/main.rs diff --git a/minigrep/Cargo.lock b/minigrep/Cargo.lock new file mode 100644 index 0000000..1ec6ded --- /dev/null +++ b/minigrep/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "minigrep" +version = "0.1.0" diff --git a/minigrep/Cargo.toml b/minigrep/Cargo.toml new file mode 100644 index 0000000..64c2a3f --- /dev/null +++ b/minigrep/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "minigrep" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/minigrep/src/main.rs b/minigrep/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/minigrep/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}