Skip to content

feat: rust bindings #64

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ncatelli
Copy link

@ncatelli ncatelli commented Mar 16, 2025

This PR introduces rust binding generation. I have a few open but I wanted to open the PR to gauge if this would be viable to merge.

TODO

  • deploy.sh is stubbed and needs to be implemented.
    • currently it skips all publishing of artifacts both to an unknown primary cloudsmith repo and crates.io
  • CI environment setup for rust

Notes for Reviewer

Most of the generated code should be standard for the upstream swagger rust module. Notably there are two template overrides included here

  • Cargo.mustache
    • Added package metadata for publishing.
  • api.mustache
    • Renamed the query variable as it conflicted with a param used by the cloudsmith api.

@ncatelli ncatelli marked this pull request as ready for review March 18, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant