diff options
| author | pml68 <contact@pml68.dev> | 2025-06-02 22:57:07 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-06-02 23:09:01 +0200 |
| commit | 6339225cfb0840200088c7e58736c25edc20ca9a (patch) | |
| tree | ee73aa09f0b330f9cb7899dd6fa1e02bd0cc7d26 | |
| parent | feat: switch from `String` to `Fragment` for `title` (diff) | |
| download | iced_dialog-6339225cfb0840200088c7e58736c25edc20ca9a.tar.gz | |
ci: fix workflow
| -rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
| -rw-r--r-- | Cargo.toml | 18 | ||||
| -rw-r--r-- | example/Cargo.toml | 8 | ||||
| -rw-r--r-- | examples/save.rs (renamed from example/src/main.rs) | 1 |
4 files changed, 8 insertions, 21 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daff1be..154ee76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,4 +18,4 @@ jobs: - name: Run tests run: cargo test --verbose - name: Build example - run: cargo build -p example + run: cargo build --example save @@ -12,20 +12,14 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"] rust-version = "1.85" [dependencies] -iced_widget.workspace = true -iced_core.workspace = true +iced_widget = { git = "https://github.com/iced-rs/iced", branch = "master" } +iced_core = { git = "https://github.com/iced-rs/iced", branch = "master", features = ["advanced"] } -[workspace.dependencies.iced_widget] -git = "https://github.com/iced-rs/iced" -branch = "master" +[dev-dependencies] +iced = { git = "https://github.com/iced-rs/iced", branch = "master" } -[workspace.dependencies.iced_core] -git = "https://github.com/iced-rs/iced" -branch = "master" -features = ["advanced"] - -[workspace] -members = ["example"] +[[example]] +name = "save" [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] diff --git a/example/Cargo.toml b/example/Cargo.toml deleted file mode 100644 index 7bc22dc..0000000 --- a/example/Cargo.toml +++ /dev/null @@ -1,8 +0,0 @@ -[package] -name = "example" -version = "0.0.1" -edition = "2024" - -[dependencies] -iced = { git = "https://github.com/iced-rs/iced", branch = "master" } -iced_dialog = { path = ".." } diff --git a/example/src/main.rs b/examples/save.rs index 659411d..a7c73a2 100644 --- a/example/src/main.rs +++ b/examples/save.rs @@ -1,3 +1,4 @@ +#![allow(missing_docs)] use iced::{ Element, Length, Task, widget::{button, center, column, text}, |
