xworkmate-app/linux/flutter
Haitao Pan dac1d0ec23 refactor: replace super_clipboard with pasteboard, drop cargokit/Rust
super_clipboard pulled in super_native_extensions (a Rust native layer
built via cargokit), whose precompiled-binary download from GitHub
release assets has been intermittently failing the build ("Connection
closed while receiving data"). It was used for exactly one feature -
reading a clipboard image into the composer - in a single file; the
other 12 imports were dead.

- Swap super_clipboard -> pasteboard (platform-channel, no Rust).
- Rewrite readClipboardImageAsXFileInternal() on Pasteboard.image
  (PNG bytes), collapsing three helpers into one.
- Remove 12 unused super_clipboard imports.
- Regenerated plugin registrants / lockfiles drop super_native_extensions.

Removes the Rust toolchain requirement and the flaky download entirely.
Text copy/paste already used Flutter's built-in Clipboard and is
unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 6e31064cd2)
2026-06-30 08:42:16 +08:00
..
CMakeLists.txt Initial Flutter workspace shell 2026-03-11 07:32:52 +08:00
generated_plugin_registrant.cc refactor: replace super_clipboard with pasteboard, drop cargokit/Rust 2026-06-30 08:42:16 +08:00
generated_plugin_registrant.h Initial Flutter workspace shell 2026-03-11 07:32:52 +08:00
generated_plugins.cmake refactor: replace super_clipboard with pasteboard, drop cargokit/Rust 2026-06-30 08:42:16 +08:00