[PR #30] [MERGED] Async #241

Closed
opened 2026-05-05 22:14:56 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/30
Author: @feschber
Created: 10/8/2023
Status: Merged
Merged: 10/11/2023
Merged by: @feschber

Base: mainHead: async


📝 Commits (7)

📊 Changes

13 files changed (+445 additions, -557 deletions)

View changed files

📝 Cargo.lock (+13 -14)
📝 Cargo.toml (+1 -2)
📝 src/backend/producer/wayland.rs (+10 -23)
📝 src/backend/producer/windows.rs (+10 -38)
📝 src/backend/producer/x11.rs (+12 -25)
📝 src/dns.rs (+9 -6)
📝 src/event/server.rs (+285 -290)
📝 src/frontend.rs (+44 -127)
📝 src/frontend/cli.rs (+2 -2)
📝 src/frontend/gtk.rs (+4 -1)
📝 src/frontend/gtk/window.rs (+1 -1)
📝 src/main.rs (+34 -23)
📝 src/producer.rs (+20 -5)

📄 Description

  • manual eventloop now replaced by asycn-await using the tokio runtime
  • dns no longer blocks the event loop
  • simplifies logic
  • makes xdg-desktop-portal easier to integrate

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feschber/lan-mouse/pull/30 **Author:** [@feschber](https://github.com/feschber) **Created:** 10/8/2023 **Status:** ✅ Merged **Merged:** 10/11/2023 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `async` --- ### 📝 Commits (7) - [`8e8f794`](https://github.com/feschber/lan-mouse/commit/8e8f7942ca25a2169a0cd3f4949f8480edb608ca) Initial async support - [`7ecbe0c`](https://github.com/feschber/lan-mouse/commit/7ecbe0c31cb02bd5a1e700ffbc4b42898d47420f) Fix: Clear readiness - [`ea478c1`](https://github.com/feschber/lan-mouse/commit/ea478c12171d2f00a2b62b5c15ac29d51941c311) fix dns resolver - [`278dea1`](https://github.com/feschber/lan-mouse/commit/278dea1246c0e719d985c23b8f60bc2c2232c37d) fix: remove explicit mio dependency - [`f136f48`](https://github.com/feschber/lan-mouse/commit/f136f482e34f148974fe95df679e8dad08175d89) remove unnecessary tokio features - [`661ec7a`](https://github.com/feschber/lan-mouse/commit/661ec7a0b5520d7dd50862e8e3a297b24e39a3e0) Warn on dns error - [`6e0763b`](https://github.com/feschber/lan-mouse/commit/6e0763bcbc09c2d2e7a0be7589787002e1032c36) fix windows ### 📊 Changes **13 files changed** (+445 additions, -557 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+13 -14) 📝 `Cargo.toml` (+1 -2) 📝 `src/backend/producer/wayland.rs` (+10 -23) 📝 `src/backend/producer/windows.rs` (+10 -38) 📝 `src/backend/producer/x11.rs` (+12 -25) 📝 `src/dns.rs` (+9 -6) 📝 `src/event/server.rs` (+285 -290) 📝 `src/frontend.rs` (+44 -127) 📝 `src/frontend/cli.rs` (+2 -2) 📝 `src/frontend/gtk.rs` (+4 -1) 📝 `src/frontend/gtk/window.rs` (+1 -1) 📝 `src/main.rs` (+34 -23) 📝 `src/producer.rs` (+20 -5) </details> ### 📄 Description * manual eventloop now replaced by asycn-await using the tokio runtime * dns no longer blocks the event loop * simplifies logic * makes xdg-desktop-portal easier to integrate --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 22:14:56 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#241
No description provided.