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

Draft: Use quote for codegen #38

Merged
merged 14 commits into from
Mar 20, 2024
Merged

Draft: Use quote for codegen #38

merged 14 commits into from
Mar 20, 2024

Conversation

stadelmanma
Copy link
Owner

@stadelmanma stadelmanma commented Feb 22, 2024

Replace current code generation method where content is written directly to a file to instead use the quote crate.

  • Reimplement Field Type enum file generation
  • Reimplement decode module file generation
  • Refactor parsing module to make it more geared to code generation versus just Profile information storage, ideally to allow generation code simplification and reduce redundant code.
  • Update CHANGELOG/README

closes #25

@stadelmanma stadelmanma added the enhancement New feature or request label Feb 22, 2024
@stadelmanma stadelmanma self-assigned this Feb 22, 2024
@stadelmanma stadelmanma changed the title Draft: Use quote for code gen Draft: Use quote for codegen Feb 22, 2024
Specify the miniumum version of proc-macro2 and quote to be the latest release.
@stadelmanma stadelmanma merged commit 081cd2e into master Mar 20, 2024
2 checks passed
@stadelmanma stadelmanma deleted the use-quote-for-code-gen branch March 20, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate if the codegen crate would make the profile generation code cleaner
1 participant