-
Notifications
You must be signed in to change notification settings - Fork 258
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
Improve shuttle-runtime out-of-date hint #1533
Conversation
Thanks for the initiative! For this PR, I think we can add the |
Ahh this would be nice. I'll modify the PR to amend the final sentence |
Ah, sorry for the formatting bug. Is there anything else required for this PR to be merged? |
The CI errors look like they're network related?:
|
Yeah, don't worry about them. All looks good now. Thanks! |
* Improve shuttle-runtime out-of-date hint * Update lib.rs * fix: string formatting --------- Co-authored-by: jonaro00 <[email protected]>
Description of change
Hey there! This change just adds a copy-paste friendly command for when the
shuttle runtime is out of date. It looks something like
cargo add shuttle-runtime@{version}
.This lets the user quickly copy-paste the given line, instead of having to
manually edit
Cargo.toml
. Note that if the user is using other shuttlecrates (ie
shuttle-aws-rds
,shuttle-rocket
, etc), this copy-paste line willnot update those, and the user will have to update them by manually editing
Cargo.toml
. I didn't addshuttle-*
crates to thecargo update
command, because that would install every crate, even if the user isn't using
them.
Maybe someone on the team knows if it's easy enough to tell which
shuttle-*
crates a project is using, and then we can amend the command to explicitly
include those crates?