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:
parent
a56b25b909
commit
f468e25d0c
59 changed files with 447 additions and 423 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue