Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derive macro to register struct of metrics #218

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Commits on Jul 22, 2024

  1. add Register/RegisterField traits

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    4eec75d View commit details
    Browse the repository at this point in the history
  2. add derive-register crate

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    537eb62 View commit details
    Browse the repository at this point in the history
  3. fix compile error

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    7105446 View commit details
    Browse the repository at this point in the history
  4. basic derive impl

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    9ec4c61 View commit details
    Browse the repository at this point in the history
  5. change Register/RegisterField to take reference for self

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    2cea529 View commit details
    Browse the repository at this point in the history
  6. add new trait RegisterDefault

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    bc6a172 View commit details
    Browse the repository at this point in the history
  7. rework derive, add tests for nested structs

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    7ff4367 View commit details
    Browse the repository at this point in the history
  8. use full names for Into/String

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    fc92deb View commit details
    Browse the repository at this point in the history
  9. use darling for derive macro

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    9bf89a0 View commit details
    Browse the repository at this point in the history
  10. add attribute to skip fields

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    4b1c002 View commit details
    Browse the repository at this point in the history
  11. add attribute to set unit

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    f4c4a1a View commit details
    Browse the repository at this point in the history
  12. add attribute to rename fields

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    b29615b View commit details
    Browse the repository at this point in the history
  13. add attribute to set help text

    Zachary Vacura committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    b2d3516 View commit details
    Browse the repository at this point in the history