From f500fd4da72983f0c9550fbccfa55d679e79903d Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 28 Mar 2026 01:00:01 +0100 Subject: docs(README): add short contributing guide --- README.md | 7 +++++-- src/lib.rs | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fd4d7d1..1df26ce 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ It's mostly the dialog from @frgp42's [Fluent Iced Gallery](https://github.com/f ## Example -```rust,no_run +```rust use iced::{ Element, Task, widget::{button, center, column, text}, @@ -73,5 +73,8 @@ impl State { You can also run the above example: ```bash -cargo run -p example +cargo run --example save ``` + +## Contributing +You can send issues, feature requests, patches etc. to . diff --git a/src/lib.rs b/src/lib.rs index d311d14..24c140d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,7 @@ -#![doc = include_str!("../README.md")] +//! Custom dialog for [`iced`](https://iced.rs) +//! +//! It's mostly the dialog from @frgp42's [Fluent Iced Gallery](https://github.com/frgp42/fluent_iced_gallery), but made into a "widget". + pub mod dialog; pub use dialog::Dialog; use iced_widget::Button; -- cgit v1.2.3