aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-03-28 01:00:01 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-03-28 01:00:58 +0100
commitf500fd4da72983f0c9550fbccfa55d679e79903d (patch)
treeb00fc542908c15fc08c085646c0751a90bdb6557
parentfeat: move from sourcehut to my git instance (diff)
downloadiced_dialog-f500fd4da72983f0c9550fbccfa55d679e79903d.tar.gz
docs(README): add short contributing guideHEADmaster
-rw-r--r--README.md7
-rw-r--r--src/lib.rs5
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 <contact@pml68.dev>.
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;