Recommend Edition 2021 as an alternative to Cargo resolver version 2 (#215)

This commit is contained in:
Jay Oster 2021-10-21 15:57:15 -07:00 committed by GitHub
parent 9264a255bf
commit 2c98dc3f33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,8 @@ Starting with [`wgpu` 0.10](https://github.com/gfx-rs/wgpu/blob/06316c1bac8b78ac
resolver = "2" resolver = "2"
``` ```
Perhaps a better alternative is specifying [`edition = "2021"`](https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html), especially if you are starting a new project with Rust `1.56.0` or later.
### Driver issues ### Driver issues
The most common issue is having an outdated graphics driver installed on the host machine. `pixels` The most common issue is having an outdated graphics driver installed on the host machine. `pixels`