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

[Bug]: The install instructions do not work #1083

Closed
1 task done
RaphaelDarley opened this issue Jul 11, 2023 · 3 comments · Fixed by #1087
Closed
1 task done

[Bug]: The install instructions do not work #1083

RaphaelDarley opened this issue Jul 11, 2023 · 3 comments · Fixed by #1087
Labels
T-Bug Something isn't working

Comments

@RaphaelDarley
Copy link

What happened?

the README says to use the command cargo install binstall which does not make cargo binstall work as the cargo-binstall crate is required. Compiling cargo-binstall from source with cargo install cargo-binstall is currently broken for me because it uses deprecated features in once_cell, but it can be installed. This adds a significant barrier when installing cargo shuttle as the compile time is significant particularly on a vm.

Version

0.21.0

Which operating system(s) are you seeing the problem on?

Windows, Linux

Which CPU architectures are you seeing the problem on?

x86_64

Relevant log output

No response

Duplicate declaration

  • I have searched the issues and there are none like this.
@RaphaelDarley RaphaelDarley added the T-Bug Something isn't working label Jul 11, 2023
@jonaro00
Copy link
Member

Thanks for catching the typo in the README. Will fix.
To save time when installing cargo-binstall, you can go and download their binary like this https://github.com/cargo-bins/cargo-binstall#installation
This makes it possible to install cargo-binstall and cargo-shuttle in seconds.

@RaphaelDarley
Copy link
Author

thanks, I found that eventually. could you give a similar script to install the binary of shuttle directly like cargo-binstall does.
I gave up the first time trying to use shuttle because the compile time was so long.

@jonaro00
Copy link
Member

When binstall is installed from source, you can run it to get cargo-shuttle quickly. If two commands are too much, you can curl or wget the latest release https://github.com/shuttle-hq/shuttle/releases with one command. The advantage with binstall is that you get the latest version without having to think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants