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:
parent
4590abae08
commit
4700e54f16
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue