From c1b7cf7c3030db12a6509b65cb9decbc6a37b426 Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 4 Jul 2025 22:52:33 +0200 Subject: chore: switch to `[patch.crates-io]` method for git deps --- Cargo.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 950adcf..c5254cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,11 +12,11 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"] rust-version = "1.85" [dependencies] -iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" } -iced_core = { git = "https://github.com/iced-rs/iced", branch = "master", features = ["advanced"] } +iced_widget = "0.14.0-dev" +iced_core = { version = "0.14.0-dev", features = ["advanced"] } [dev-dependencies] -iced = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced = "0.14.0-dev" [[example]] name = "save" @@ -47,3 +47,8 @@ useless_conversion = "deny" [lints.rustdoc] broken_intra_doc_links = "forbid" + +[patch.crates-io] +iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced_core = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced = { git = "https://github.com/iced-rs/iced", branch = "master" } -- cgit v1.2.3