AugmendTech / CrabGrab

🦀 🖥️ 🦀
Apache License 2.0
148 stars 8 forks source link

Update wgpu to major-version release 22.0 #42

Open tana opened 1 month ago

tana commented 1 month ago

This PR updates version of wgpu crate in dependency from 0.20 to recently released version 22.0.

Because Cargo treats wgpu 22 and 0.2 are two distinct crates, mixing them leads to weird link errors. This PR solves this problem.

However, this also makes CrabGrab incompatible with crates using wgpu 0.2. If you think it is not acceptable, I can add a feature flag to switch the dependency to wgpu 0.2.