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

cargo-shuttle: add platform version switches #1731

Closed
wants to merge 3 commits into from

Conversation

iulianbarbu
Copy link
Contributor

Description of change

Added a platform_version cargo-shuttle argument which can be set as environment as well. Up to this point we can use it against the new platform for:

  • project start
  • project status
  • project list
  • project delete

How has this been tested? (if applicable)

Tested locally.

Notes

cargo shuttle deploy is not supported yet, but that will happen in a follow up PR.

@Kazy
Copy link
Contributor

Kazy commented Apr 10, 2024

Wouldn't it be better to put all of that behind a trait, and just switch the implementation ? With anything that can be shared being in standalone functions ? It's a larger rework, but this would make things clearer rather than if/else and v1/v2.

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.

3 participants