From 0fbc78777ead39adba3950edd8e8b92ae1db3482 Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Mon, 7 Apr 2025 16:00:56 +0300 Subject: feat(guests_macro): Replace parse_fn mod with struct The old method of having functions for every parsing action of a function definition produced messy results. We're replacing it with a struct which will hold a wide assortment of parsed values. This makes the interface much sleaker with only a minor increase in code. The downside is a lot of data gets repeated, however since this struct will only be used in macros, i.e. compile-time, that doesn't matter too much. --- guests_macro/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guests_macro/Cargo.toml') diff --git a/guests_macro/Cargo.toml b/guests_macro/Cargo.toml index 6173b91..5831d1c 100644 --- a/guests_macro/Cargo.toml +++ b/guests_macro/Cargo.toml @@ -6,3 +6,6 @@ edition = "2021" [lib] proc-macro = true + +[dependencies] +toml = "0.8.19" -- cgit v1.2.3