Hands on Rust: Effective Learning through 2D Game Development and Play
Page 48
Cargo.toml file in book:
[package]
name = "hello_bterm"
version = "0.1.0"
authors = ["Herbert Wolverson <herberticus@gmail.com>"]
edition = "2018"
[dependencies]
bracket-lib = "~0.8.1"
When calling cargo run, get the following error:
error: failed to download `bytemuck v1.12.1`
Caused by:
unable to get packages from source
Caused by:
failed to parse manifest at `C:\Users\Mike Chambers\.cargo\registry\src\github.com-1ecc6299db9ec823\bytemuck-1.12.1\Cargo.toml`
Caused by:
feature `resolver` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["resolver"]` to enable this feature
rustup version 1.25.1 and rustc 1.50.0
Is there a specific version of rust we need to use to get this to work?