ozkriff / zemeroth

😠⚔️😈 A minimalistic 2D turn-based tactical game in Rust

Home Page:https://ozkriff.itch.io/zemeroth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

quad-rand patch

Horki opened this issue · comments

Build error on the current master branch:

Updating git repository `https://github.com/not-fl3/quad-rand`
error: failed to get `quad-rand` as a dependency of package `zemeroth v0.7.0-snapshot (/home/.../zemeroth)`

Caused by:
  failed to load source for dependency `quad-rand`

Caused by:
  Unable to update https://github.com/not-fl3/quad-rand#b1aabd4c

Caused by:
  revspec 'b1aabd4c5033a19bba79583ada17418c2cf45674' not found; class=Reference (4); code=NotFound (-3)

So I have updated Cargo.toml and core/utils.rs to use quad_rand from crate.

pull req. #575

Cargo.toml

quad-rand = { version = "0.1.1", features = ["rand"] }

src/core/utils.rs

use quad_rand::compat::QuadRand;