Do a little feature magic to allow to build for web (#83)

* Remove default features

* Enable default features for dev (testing) builds

* Enable WGSL unconditionally
This commit is contained in:
Jengamon 2024-02-21 16:49:54 -08:00 committed by GitHub
parent 4590abae08
commit 4700e54f16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,11 +8,12 @@ repository = "https://github.com/grovesNL/glyphon"
license = "MIT OR Apache-2.0 OR Zlib"
[dependencies]
wgpu = "0.19"
wgpu = { version = "0.19", default-features = false, features = ["wgsl"] }
etagere = "0.2.10"
cosmic-text = "0.10"
lru = "0.12.1"
[dev-dependencies]
winit = { version = "0.29.10", features = ["rwh_05"] }
wgpu = { version = "0.19", default-features = true }
pollster = "0.3.0"