Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3479

[rust] Derive Avro Schema macro

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.1, 1.12.0
    • None

    Description

      The tracking Issue for the Avro Derive Feature of the rust SDK.

      Proposal (copied from email):
      Have another rust crate that is importable as a feature on the main crate (in the same manner as serde derive), that will provide a derive proc_macro that implements a simple trait that returns the schema for the implementing type. Right now, schemas must be parsed from strings ( or read from files first), and closely coordinated with the associated struct. This makes sense for workflows that need to associate the same type across languages. For programs that are all within Rust, there are usability advantages of the proc_macro.

      Attachments

        Issue Links

          Activity

            People

              Klamer Jack Klamer
              Klamer Jack Klamer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 50m
                  3h 50m