aboutsummaryrefslogtreecommitdiff
path: root/examples/rich
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/rich/Cargo.toml9
-rw-r--r--examples/rich/src/main.rs (renamed from examples/iced.rs)1
2 files changed, 9 insertions, 1 deletions
diff --git a/examples/rich/Cargo.toml b/examples/rich/Cargo.toml
new file mode 100644
index 0000000..a016a5e
--- /dev/null
+++ b/examples/rich/Cargo.toml
@@ -0,0 +1,9 @@
+[package]
+name = "rich"
+version = "0.0.0"
+edition = "2024"
+
+[dependencies]
+iced.workspace = true
+iced_selection = { path = "../.." }
+open.workspace = true
diff --git a/examples/iced.rs b/examples/rich/src/main.rs
index e031d08..6c47e0f 100644
--- a/examples/iced.rs
+++ b/examples/rich/src/main.rs
@@ -1,4 +1,3 @@
-#![allow(missing_docs)]
use iced::widget::{center, column, responsive};
use iced::{Center, Element, color};
use iced_selection::{rich_text, span};