Skip to content

Create an extras crate with a bunch of more or less useful extra features #108

Description

@Kile-Asmussen

Example extra thingies:

  • Tokio utility functions (feature gated)
    • When processing futures concurrently, collect all errors into child reports
    • Maybe something with the most popular retry crate?
  • If some of the extra attachment/context handlers from Add more default attachment handlers #106 are found to not be useful enough to go in the main crate, these can go here
  • Serde integration (feature gated)
    • Report formatter hook that makes JSON?
    • Utility functions for arbitrary serialization formats
    • Some sort of type map that recognizes which attachments/contexts implement Serialize and defaults to strings otherwise
    • Display = pretty print, Debug = terse?
    • Appendix/InlineWithHeader support?
  • More report formatters
    • Attachment filtering features
    • Child report filtering features
  • More report creation hooks
    • Timestamp attachments and such (SystemTime)
  • A library of utility functions for traversing Reports as a data structure:
    • searching for attachments/contexts of specific types/satisfying predicates
    • enumerating child reports in depth-first or breadth-first manners
    • exposing the enumeration of attachments according to priority

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions