aboutsummaryrefslogtreecommitdiff
path: root/guests_macro/Cargo.toml
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2025-04-07 16:00:56 +0300
committerKamen Mladenov <kamen@syndamia.com>2025-04-07 17:41:20 +0300
commit0fbc78777ead39adba3950edd8e8b92ae1db3482 (patch)
tree75db691d4f61fd8c375e583d3b26a35fbfa8ead3 /guests_macro/Cargo.toml
parent7498d604be92a0b1a7a5603e0295f194aa8b05e7 (diff)
downloadzkVMs-benchmarks-0fbc78777ead39adba3950edd8e8b92ae1db3482.tar
zkVMs-benchmarks-0fbc78777ead39adba3950edd8e8b92ae1db3482.tar.gz
zkVMs-benchmarks-0fbc78777ead39adba3950edd8e8b92ae1db3482.zip
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.
Diffstat (limited to 'guests_macro/Cargo.toml')
-rw-r--r--guests_macro/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
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"