Skip to content

Commit

Permalink
Disable default features on vello to remove wgpu
Browse files Browse the repository at this point in the history
linebender/vello#359 made `wgpu` an optional
but default dependency/feature, but any crate using `velato` will be
forced to opt in to `wgpu` due to not disabling the default here.
  • Loading branch information
MarijnS95 committed Apr 29, 2024
1 parent 5e1f5e5 commit 90c3063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repository.workspace = true

[workspace.dependencies]
# NOTE: Make sure to keep this in sync with the version badge in README.md
vello = "0.1.0"
vello = { version = "0.1.0", default-features = false }

[dependencies]
vello = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions examples/with_winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "with_winit_bin"
path = "src/main.rs"

[dependencies]
vello = { workspace = true, features = ["buffer_labels", "wgpu-profiler"] }
vello = { workspace = true, features = ["buffer_labels", "wgpu", "wgpu-profiler"] }
scenes = { path = "../scenes" }
anyhow = "1"
clap = { version = "4.5.1", features = ["derive"] }
Expand All @@ -30,7 +30,7 @@ env_logger = "0.11.2"
log = "0.4.21"

[target.'cfg(not(any(target_arch = "wasm32", target_os = "android")))'.dependencies]
vello = { workspace = true, features = ["hot_reload", "wgpu-profiler"] }
vello = { workspace = true, features = ["hot_reload", "wgpu", "wgpu-profiler"] }
notify-debouncer-mini = "0.3"

[target.'cfg(target_os = "android")'.dependencies]
Expand Down

0 comments on commit 90c3063

Please sign in to comment.