diff options
author | 2023-03-05 06:40:20 +0100 | |
---|---|---|
committer | 2023-03-05 06:40:20 +0100 | |
commit | 06bbcc310e6e759a0839df6ca391ea5e0f0ee609 (patch) | |
tree | 782023181c77ce9ba2b836b0e82a671341b82213 /renderer/Cargo.toml | |
parent | 1c36446115dcb46c373fbc62b9e4f1941bd5a383 (diff) | |
download | iced-06bbcc310e6e759a0839df6ca391ea5e0f0ee609.tar.gz iced-06bbcc310e6e759a0839df6ca391ea5e0f0ee609.tar.bz2 iced-06bbcc310e6e759a0839df6ca391ea5e0f0ee609.zip |
Move `webgl` feature selection for `wgpu` into `iced_wgpu`
Diffstat (limited to 'renderer/Cargo.toml')
-rw-r--r-- | renderer/Cargo.toml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/renderer/Cargo.toml b/renderer/Cargo.toml index d0420ad0..560bf2e1 100644 --- a/renderer/Cargo.toml +++ b/renderer/Cargo.toml @@ -17,12 +17,10 @@ thiserror = "1" version = "0.7" path = "../graphics" +[dependencies.iced_wgpu] +version = "0.9" +path = "../wgpu" + [dependencies.iced_tiny_skia] version = "0.1" path = "../tiny_skia" - -[target.'cfg(not(target_arch = "wasm32"))'.dependencies] -iced_wgpu = { version = "0.9", path = "../wgpu" } - -[target.'cfg(target_arch = "wasm32")'.dependencies] -iced_wgpu = { version = "0.9", path = "../wgpu", features = ["webgl"] } |