Giter Site home page Giter Site logo

unable to install about cargo-count HOT 4 OPEN

kbknapp avatar kbknapp commented on July 18, 2024 10
unable to install

from cargo-count.

Comments (4)

richardwhiuk avatar richardwhiuk commented on July 18, 2024 6

cargo install --git https://github.com/slerpyyy/cargo-count --branch master works as a one liner.

from cargo-count.

Fenex avatar Fenex commented on July 18, 2024 3

Easy install cargo-count with fix #46:

git clone https://github.com/kbknapp/cargo-count.git
cd cargo-count
git fetch origin pull/46/head:pr-46
git checkout pr-46
cargo install --path ./
# ready!
cargo count --all --unsafe-statistics --exclude target

from cargo-count.

ekoutanov avatar ekoutanov commented on July 18, 2024 1

If you want to install from the original repo (rather than a forked one) with a yanked dependency, and assuming the repo has a Cargo.lock file (which it does in this case), you can use the --locked argument, as so:

cargo install --git https://github.com/kbknapp/cargo-count --branch master --locked

from cargo-count.

survived avatar survived commented on July 18, 2024

Clap maintainer has yanked all the versions up to 2.21.0 which caused this error. The only option (except waiting for the cargo-count author to update dependency) I can see so far — build it manually and put binary to ~/.cargo/bin.

from cargo-count.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.