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

The documentation on Crate. io is not the same as that on Github #4

Closed
QingyaoLin opened this issue Jan 7, 2022 · 1 comment
Closed

Comments

@QingyaoLin
Copy link

QingyaoLin commented Jan 7, 2022

According to the documentation on Crate. IO, I tried to install the CREATE today, but it showed --> could not find smart-checkout in registry crates-io with version *

steps:

  1. First : cargo install smart-checkout
error: could not find `smart-checkout` in registry `crates-io` with version `*`
  1. then: cargo search smart-checkout
smart-checkout = "0.0.0"        # A better way of switching git branches.
git-smart-checkout = "0.1.0"    # A better way of switching git branches.
  1. so: The installation command should be cargo install git-smart-checkout , rather than cargo install smart-checkout
💀 97% 🚀 ❯❯❯ cargo install git-smart-checkout
    Updating crates.io index
  Downloaded git-smart-checkout v0.1.0
  Downloaded 1 crate (2.0 MB) in 4.54s

In fact, the Github documentation says cargo install Git-smart-checkout should be used.

Crate.io is not consistent with github.

@QingyaoLin QingyaoLin changed the title could not find smart-checkout in registry crates-io with version * The documentation on Crate. IO is not the same as that on Github Jan 7, 2022
@QingyaoLin QingyaoLin changed the title The documentation on Crate. IO is not the same as that on Github The documentation on Crate. io is not the same as that on Github Jan 7, 2022
@craciuncezar
Copy link
Owner

That's correct, thanks for pointing it out 👍 this should be fixed now

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

No branches or pull requests

2 participants