Merge pull request #2069 from iced-rs/use-workspace-dependencies

Use workspace dependencies and package inheritance
This commit is contained in:
Héctor Ramón 2023-09-07 03:30:35 +02:00 committed by GitHub
commit d1822ad811
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 472 additions and 436 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 = [