Adding wgpu_starter
library as a dependency
Run this command in a terminal, in your project"s directory:
cargo add wgpu_starter
To add it manually, edit your project"s Cargo.toml
file and add to the [dependencies]
section:
wgpu_starter = "0.1.1"
The wgpu_starter
library will be automatically available globally.