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

Big Trait Changes #206

Open
wants to merge 43 commits into
base: main
Choose a base branch
from
Open

Big Trait Changes #206

wants to merge 43 commits into from

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    015ccc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd10886 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6151aa5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a3f596f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe46a31 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ad158f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bc865fe View commit details
    Browse the repository at this point in the history
  8. Fix missing doc link

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    6ad6a16 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fe9da31 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5add99d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8578f85 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1b2a734 View commit details
    Browse the repository at this point in the history
  13. Fix import

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    0aa7380 View commit details
    Browse the repository at this point in the history
  14. Fix additional imports

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    e86643c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5f52f93 View commit details
    Browse the repository at this point in the history
  16. Change trait bound to be more generic

    Change trait bounds for auto-impl of MessageConversion
    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    3368b83 View commit details
    Browse the repository at this point in the history
  17. Use options instead of values

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    a9bb246 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    a47aaf4 View commit details
    Browse the repository at this point in the history
  19. Add HasInterfaceName trait

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    c4e0c1e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1b3791d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    123e47d View commit details
    Browse the repository at this point in the history
  22. Add new tests around message conversion

    - Correct interface, member and invalid body
    - Correct body, interface and invalid member
    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    df1e36b View commit details
    Browse the repository at this point in the history
  23. Error order coherency

    The order of validation is the following when using
    `Event::try_from(Message)`:
    
    - MissingInterface
    - InterfaceMatch
    - MissingMember
    - MemberMatch
    - MissingSignature
    - SignatureMatch
    
    Or at least, that's what it should be.
    THe commit makes individual implementations of `TryFrom<Message>` cohere
    to the same order of validation.
    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    e4359f2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e5a0374 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c9857a1 View commit details
    Browse the repository at this point in the history
  26. Use _unchecked in more places

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ad74e27 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    791dad3 View commit details
    Browse the repository at this point in the history
  28. Fix imports in test

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    5107e2c View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    2ff735f View commit details
    Browse the repository at this point in the history
  30. Auto-impl interface checking

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9052cf5 View commit details
    Browse the repository at this point in the history
  31. Flag zbus-only trait imports

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    d9204b6 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    c3bbdd2 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    1b1f76c View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    370c295 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    45d6cd0 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    855d4df View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c7a657e View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    73c17b0 View commit details
    Browse the repository at this point in the history
  39. Add new methods on trait MessageConversion

    - `validate_interface` (auto-impl)
    - `validate_member` (auto-impl)
    - `validate_body` (auto-impl)
    - `try_from_validated_message_parts` (required)
    	- This constructs the event from an to it with the arguments ObjectRef,Self::Body
    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    ba2df3b View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    96387e8 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    866415b View commit details
    Browse the repository at this point in the history
  42. Make clippy happy

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    31abd35 View commit details
    Browse the repository at this point in the history
  43. Fix docs

    TTWNO committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    cb70e23 View commit details
    Browse the repository at this point in the history