Use workspace dependencies and package inheritance

We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
This commit is contained in:
Héctor Ramón Jiménez 2023-09-04 12:58:41 +02:00
parent a56b25b909
commit f468e25d0c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
59 changed files with 447 additions and 423 deletions

View file

@ -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 = [