Currently we have a hand-rolled attribute parser in linera-witty-macros. It would be nice to replace it with a mature solution like darling or deluxe, which should reduce some code duplication by allowing us to use an option struct as the source of truth for our attributes.
Rust proc macro knowledgeFamiliarity with darling or deluxe
初心者向け度初回貢献者にどれだけ取り組みやすいかを 1-100 で推定したスコアです。
60
調査方針
Start by examining the current hand rolled attribute parser in the `linera witty macros` crate (likely in the `src/` directory). Understand how attributes are parsed and where code duplication exists. Then choose either `darling` or `deluxe` and review their documentation for attribute parsing. Implement a replacement that uses the chosen library, ideally by extracting an options struct from the current attributes. Test the changes to ensure the macro behavior remains identical. No comments or PRs exist on this issue yet.
Use a dedicated proc-macro parsing library for attribute parsing in `linera-witty-macros` · linera-io/linera-protocol#1762 | Good First Issue