summaryrefslogtreecommitdiffstats
path: root/src/pancakes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pancakes/Cargo.toml8
-rw-r--r--src/pancakes/src/main.rs9
2 files changed, 17 insertions, 0 deletions
diff --git a/src/pancakes/Cargo.toml b/src/pancakes/Cargo.toml
new file mode 100644
index 0000000..e4edd51
--- /dev/null
+++ b/src/pancakes/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "pancakes"
+version = "0.1.0"
+edition = "2024"
+
+[dependencies]
+hello_macro = { path = "../../libs/hello_macro" }
+hello_macro_derive = { path = "../../libs/hello_macro/hello_macro_derive" } \ No newline at end of file
diff --git a/src/pancakes/src/main.rs b/src/pancakes/src/main.rs
new file mode 100644
index 0000000..468c30a
--- /dev/null
+++ b/src/pancakes/src/main.rs
@@ -0,0 +1,9 @@
+use hello_macro::HelloMacro;
+use hello_macro_derive::HelloMacro;
+
+#[derive(HelloMacro)]
+struct Pancakes;
+
+fn main() {
+ Pancakes::hello_macro();
+}