Skip to content

Commit

Permalink
Do a little feature magic to allow to build for web (#83)
Browse files Browse the repository at this point in the history
* Remove default features

* Enable default features for dev (testing) builds

* Enable WGSL unconditionally
  • Loading branch information
Jengamon committed Feb 22, 2024
1 parent 4590aba commit 4700e54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Expand Up @@ -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"

0 comments on commit 4700e54

Please sign in to comment.