infincia / bip39-rs

A Rust implementation of BIP-0039
Apache License 2.0
54 stars 61 forks source link

error: no packages found with binaries or examples #11

Closed kenorb closed 6 years ago

kenorb commented 6 years ago

I've clone repo and tried to install, but cargo doesn't see it as valid package.

bip39-rs $ cargo install
error: no packages found with binaries or examples
$ cargo install --path .
error: no packages found with binaries or examples
$ cargo install --git https://github.com/infincia/bip39-rs
    Updating git repository `https://github.com/infincia/bip39-rs`
error: no packages found with binaries or examples   
$ cargo --version
cargo 0.25.0

Other packages work fine, e.g.

$ cargo install --git https://github.com/rigelrozanski/dicedemon
    Updating git repository `https://github.com/rigelrozanski/dicedemon`
  Installing dicedemon v0.1.0 (https://github.com/rigelrozanski/dicedemon#02fcdf40)
steveatinfincia commented 6 years ago

Hi :)

Yep there aren't any binaries, it's just a library for use by other Rust programs that need to handle BIP39 phrases.

dicedemon can be installed that way because Cargo finds their main.rs file and automatically builds a command line binary from it.