summaryrefslogtreecommitdiffstats
path: root/examples/integration/Cargo.toml
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-09-07 03:30:35 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-07 03:30:35 +0200
commitd1822ad8116604590b7e9be51fc0aea4292a0760 (patch)
tree547c601fbcba58409225bc853c27286a2747a99d /examples/integration/Cargo.toml
parentc8fed143eb14d790da0592c5e24c741f6fda101e (diff)
parentd315e27451d46a815d18ed6037547d178413ede7 (diff)
downloadiced-d1822ad8116604590b7e9be51fc0aea4292a0760.tar.gz
iced-d1822ad8116604590b7e9be51fc0aea4292a0760.tar.bz2
iced-d1822ad8116604590b7e9be51fc0aea4292a0760.zip
Merge pull request #2069 from iced-rs/use-workspace-dependencies
Use workspace dependencies and package inheritance
Diffstat (limited to 'examples/integration/Cargo.toml')
-rw-r--r--examples/integration/Cargo.toml20
1 files changed, 8 insertions, 12 deletions
diff --git a/examples/integration/Cargo.toml b/examples/integration/Cargo.toml
index 22914742..032cc75e 100644
--- a/examples/integration/Cargo.toml
+++ b/examples/integration/Cargo.toml
@@ -6,19 +6,15 @@ edition = "2021"
publish = false
[dependencies]
-iced_winit = { path = "../../winit" }
-iced_wgpu = { path = "../../wgpu" }
-iced_widget = { path = "../../widget" }
-iced_renderer = { path = "../../renderer", features = ["wgpu"] }
-env_logger = "0.10"
+iced_winit.workspace = true
+iced_wgpu.workspace = true
+iced_widget.workspace = true
+
+tracing-subscriber = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
-console_error_panic_hook = "0.1.7"
-console_log = "0.2.0"
-log = "0.4"
+console_error_panic_hook = "0.1"
+console_log = "1.0"
+log.workspace = true
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["Element", "HtmlCanvasElement", "Window", "Document"] }
-# This dependency a little bit quirky, it is deep in the tree and without `js` feature it
-# refuses to work with `wasm32-unknown-unknown target`. Unfortunately, we need this patch
-# to make it work
-getrandom = { version = "0.2", features = ["js"] }