I've made a new project with
cargo new project-name
cd ./project-name
And once in the directory running
cargo install crate-name
for any crate listed on crates.io yields the error
Updating crates.io index
Installing crate-name version-number
error: specified package has no binaries
Looking elsewhere suggests adding the proper dependencies to my Cargo.toml file, but this does not change the output I'm getting. In particular I'm trying to install rust-gmp as a project dependency, and having
[dependencies]
rust-gmp = "0.5.0"
in Cargo.toml does not allow me to install rust-gmp. Any suggestions?