refactor: use iced 0.15 rich clipboard

it does use arboard internally,
but it's nicer to use stuff built into iced
instead of dealing with the Clipboard object ourselves.
This commit is contained in:
electria 2026-08-28 12:28:45 -07:00
commit f4241b9711
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs
4 changed files with 228 additions and 486 deletions

View file

@ -13,7 +13,7 @@ size = "0.5.0"
zip = "8.6.0"
[dependencies.iced]
version = "0.14.0"
version = "0.15.0-dev"
features = [ "image" ]
[dependencies.image]
@ -25,6 +25,5 @@ version = "0.12.6"
# I really wish the image crate was named better
features = [ "image" ]
[dependencies.arboard]
version = "3.6.1"
features = [ "wayland-data-control" ]
[patch.crates-io]
iced.git = "https://github.com/iced-rs/iced"