From 96c444090d76cf9981a3c51eaea3b78fcfdb3379 Mon Sep 17 00:00:00 2001 From: Bartal Laearsson Date: Mon, 5 Oct 2026 23:05:36 +0100 Subject: [PATCH] add enums crate --- Cargo.toml | 2 +- enums/Cargo.toml | 7 +++++++ enums/src/main.rs | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 enums/Cargo.toml create mode 100644 enums/src/main.rs diff --git a/Cargo.toml b/Cargo.toml index dd30ef4..ee870b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["common-programming-concepts", "common-programming-concepts-fibonacci", "common-programming-concepts-temp-converter", "common-programming-concepts-twelve-days-of-christmas","guessing-game", "ownership", "structs"] +members = ["common-programming-concepts", "common-programming-concepts-fibonacci", "common-programming-concepts-temp-converter", "common-programming-concepts-twelve-days-of-christmas", "enums","guessing-game", "ownership", "structs"] resolver = "2" [workspace.package] diff --git a/enums/Cargo.toml b/enums/Cargo.toml new file mode 100644 index 0000000..f848798 --- /dev/null +++ b/enums/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "enums" +edition.workspace = true +version.workspace = true +license.workspace = true + +[dependencies] diff --git a/enums/src/main.rs b/enums/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/enums/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}