diff options
author | 2023-09-07 03:30:35 +0200 | |
---|---|---|
committer | 2023-09-07 03:30:35 +0200 | |
commit | d1822ad8116604590b7e9be51fc0aea4292a0760 (patch) | |
tree | 547c601fbcba58409225bc853c27286a2747a99d /examples/todos | |
parent | c8fed143eb14d790da0592c5e24c741f6fda101e (diff) | |
parent | d315e27451d46a815d18ed6037547d178413ede7 (diff) | |
download | iced-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/todos')
-rw-r--r-- | examples/todos/Cargo.toml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index 7ad4d558..fea20375 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -6,18 +6,20 @@ edition = "2021" publish = false [dependencies] -iced = { path = "../..", features = ["async-std", "debug"] } +iced.workspace = true +iced.features = ["async-std", "debug"] + serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -once_cell = "1.15" +once_cell.workspace = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -async-std = "1.0" +async-std.workspace = true directories-next = "2.0" [target.'cfg(target_arch = "wasm32")'.dependencies] -web-sys = { version = "0.3", features = ["Window", "Storage"] } -wasm-timer = "0.2" +web-sys = { workspace = true, features = ["Window", "Storage"] } +wasm-timer.workspace = true [package.metadata.deb] assets = [ |