reem / rust-lazy

Lazy Evaluation for Rust.
136 stars 10 forks source link

having trouble with cargo #4

Closed viperscape closed 9 years ago

viperscape commented 9 years ago
cargo run --verbose
    Updating git repository `https://github.com/reem/rust-lazy.git`
Unable to update https://github.com/reem/rust-lazy.git

Caused by:
  ..\..\AppData\Roaming\.cargo\git\checkouts\rust-lazy-7b1b2a354532c15a\master\Cargo.toml is not a valid manifest

The given version requirement is invalid.

Cargo file; i've tried both [dependencies.rust-lazy] and [dependencies.lazy]:

[dependencies.rust-lazy]

git = "https://github.com/reem/rust-lazy.git"
ghost commented 9 years ago

It should be [dependencies.lazy] since the crate name is lazy.

Have you tried installing from crates.io? For example:

[dependencies]
lazy = "*"

If that doesn't work, or you must use git, perhaps try adding a version = "*" field under [dependencies.lazy].

reem commented 9 years ago

As @darinmorrison said, crates.io is the best thing to do.

viperscape commented 9 years ago

Okay I'll give that a go, thanks