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.
Contributor Guide
Tech Stack
rust
Domain
tooling
Issue Type
refactor
SchwierigkeitGeschätzte Implementierungsschwierigkeit für neue Contributors, von 1 für sehr kleine Änderungen bis 5 für Expertenarbeit.
3
Geschätzte ZeitEin grober Zeitrahmen, um zu recherchieren, zu implementieren, zu testen und einen Pull Request vorzubereiten.
half day
AktivitätsstatusWie verfügbar das Issue gerade wirkt: frisch, aktiv, stale, blockiert oder wartet auf Maintainer-Input.
fresh
KlarheitWie klar das Issue die erwartete Änderung, Akzeptanzkriterien und den nächsten Schritt erklärt.
clear
Voraussetzungen
Rust proc macro knowledgeFamiliarity with darling or deluxe
EinsteigerfreundlichkeitEin Score von 1 bis 100, der schätzt, wie zugänglich dieses Issue für First-Time Contributors ist.
60
Research-Richtung
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.