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

Add derive for Schema #13

Merged
merged 18 commits into from
Mar 10, 2024
Merged

Add derive for Schema #13

merged 18 commits into from
Mar 10, 2024

Conversation

Ten0
Copy link
Owner

@Ten0 Ten0 commented Mar 9, 2024

Fixes #3

Introduces two new crates:

  • serde_avro_derive the user-facing crate that contains the necessary traits/structs and reexports the macro
  • serde_avro_derive_macros the proc-macro crate that contains the actual derive (not user-facing)

The new traits and construction structs are not in the main crate for several reasons:

  • serde_avro_fast can be built before serde_avro_derive, which improves compilation time
  • The API of serde_avro_derive is not deemed stable and/or private enough for the 1.0 release of serde_avro_fast

@Ten0 Ten0 self-assigned this Mar 9, 2024
@Ten0 Ten0 merged commit 3111e8a into master Mar 10, 2024
2 checks passed
@Ten0 Ten0 deleted the derive_schema branch March 10, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

derive for Schema
1 participant