From 17f49d642dafff25823c873bdf10a137834290ff Mon Sep 17 00:00:00 2001 From: Reality Enjoyer Date: Mon, 22 Dec 2025 11:02:13 +0000 Subject: [PATCH] modules --- restaurant/Cargo.toml | 6 ++++++ restaurant/src/lib.rs | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 restaurant/Cargo.toml create mode 100644 restaurant/src/lib.rs diff --git a/restaurant/Cargo.toml b/restaurant/Cargo.toml new file mode 100644 index 0000000..8e47b7a --- /dev/null +++ b/restaurant/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "restaurant" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/restaurant/src/lib.rs b/restaurant/src/lib.rs new file mode 100644 index 0000000..a1c71b4 --- /dev/null +++ b/restaurant/src/lib.rs @@ -0,0 +1,11 @@ +mod front_of_house { + mod hosting { + fn add_to_waitlist() {} + fn seat_at_table() {} + } + mod serving { + fn take_order() {} + fn serve_order() {} + fn take_payment() {} + } +}