chfi / gfaestus

GFA visualizer, GPU-accelerated using Vulkan
MIT License
68 stars 5 forks source link

cargo build error #12

Open masen1991 opened 2 years ago

masen1991 commented 2 years ago

Hi when i build in Macos with. cargo build --release It go with :

error: failed to download `emath v0.15.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/Users/masen/.cargo/registry/src/github.com-1ecc6299db9ec823/emath-0.15.0/Cargo.toml`

Caused by:
  feature `resolver` is required

  consider adding `cargo-features = ["resolver"]` to the manifest

after add cargo-features = ["resolver"] to the end of Cargo.toml. still another message: error: failed to parse manifest at/Users/masen/Documents/gfaestus/Cargo.toml`

Caused by: invalid type: sequence, expected a version string like "0.9.8" or a detailed dependency like { version = "0.9.8" } for key patch.crates-io.cargo-features

`

chfi commented 2 years ago

Are you on the latest version of Rust? https://github.com/emilk/egui/issues/297