poanetwork / vdf

An implementation of Verifiable Delay Functions in Rust
Apache License 2.0
169 stars 53 forks source link

`cargo install` returns `error: `/Users/user/r/vdf` is not a crate root #10

Closed igorbarinov closed 5 years ago

igorbarinov commented 5 years ago
➜  vdf git:(master) cargo install
error: `/Users/user/r/vdf` is not a crate root; specify a crate to install from crates.io, or use --path or --git to specify an alternate source

Caused by:
  found a virtual manifest at `/Users/user/r/vdf/Cargo.toml` instead of a package manifest
afck commented 5 years ago

Same for me. But you can run it without installing it (and maybe the Readme should explain that, too), by using cargo run --release -- instead of vdf-cli, e.g.:

cargo run --release -- aa 100
igorbarinov commented 5 years ago

I agree. We should change the Readme then.

DemiMarie commented 5 years ago

This is fixed.