[PR #1] [MERGED] enable conditional compilation for all backends #219

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

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/1
Author: @feschber
Created: 2/17/2023
Status: Merged
Merged: 2/17/2023
Merged by: @feschber

Base: mainHead: conditional-compilation-of-backends


📝 Commits (2)

  • 4c66b37 enable conditional compilation for all backends
  • ad68bc5 fix windows build

📊 Changes

22 files changed (+310 additions, -197 deletions)

View changed files

📝 Cargo.toml (+19 -6)
📝 config.toml (+1 -0)
📝 src/backend.rs (+2 -14)
src/backend/consumer.rs (+14 -0)
src/backend/consumer/libei.rs (+9 -0)
📝 src/backend/consumer/windows.rs (+0 -0)
📝 src/backend/consumer/wlroots.rs (+74 -69)
📝 src/backend/consumer/x11.rs (+0 -0)
src/backend/consumer/xdg_desktop_portal.rs (+9 -0)
src/backend/producer.rs (+6 -0)
📝 src/backend/producer/wayland.rs (+0 -0)
📝 src/backend/producer/windows.rs (+0 -0)
📝 src/backend/producer/x11.rs (+0 -0)
src/backend/wayland.rs (+0 -2)
src/backend/windows.rs (+0 -2)
src/backend/x11.rs (+0 -2)
📝 src/client.rs (+42 -3)
📝 src/config.rs (+1 -0)
src/consumer.rs (+70 -0)
📝 src/lib.rs (+3 -0)

...and 2 more files

📄 Description

To reduce binary size one can now enable only specific backends, e.g. wayland or x11 via cargo features

Additionally adds stubs for libei and xdg-desktop-portal backends


🔄 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/1 **Author:** [@feschber](https://github.com/feschber) **Created:** 2/17/2023 **Status:** ✅ Merged **Merged:** 2/17/2023 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `conditional-compilation-of-backends` --- ### 📝 Commits (2) - [`4c66b37`](https://github.com/feschber/lan-mouse/commit/4c66b37a2fd0c478d4354be8d79649164015b432) enable conditional compilation for all backends - [`ad68bc5`](https://github.com/feschber/lan-mouse/commit/ad68bc53fdb769bcd479486d9563206c461dbf44) fix windows build ### 📊 Changes **22 files changed** (+310 additions, -197 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+19 -6) 📝 `config.toml` (+1 -0) 📝 `src/backend.rs` (+2 -14) ➕ `src/backend/consumer.rs` (+14 -0) ➕ `src/backend/consumer/libei.rs` (+9 -0) 📝 `src/backend/consumer/windows.rs` (+0 -0) 📝 `src/backend/consumer/wlroots.rs` (+74 -69) 📝 `src/backend/consumer/x11.rs` (+0 -0) ➕ `src/backend/consumer/xdg_desktop_portal.rs` (+9 -0) ➕ `src/backend/producer.rs` (+6 -0) 📝 `src/backend/producer/wayland.rs` (+0 -0) 📝 `src/backend/producer/windows.rs` (+0 -0) 📝 `src/backend/producer/x11.rs` (+0 -0) ➖ `src/backend/wayland.rs` (+0 -2) ➖ `src/backend/windows.rs` (+0 -2) ➖ `src/backend/x11.rs` (+0 -2) 📝 `src/client.rs` (+42 -3) 📝 `src/config.rs` (+1 -0) ➕ `src/consumer.rs` (+70 -0) 📝 `src/lib.rs` (+3 -0) _...and 2 more files_ </details> ### 📄 Description To reduce binary size one can now enable only specific backends, e.g. wayland or x11 via cargo features Additionally adds stubs for libei and xdg-desktop-portal backends --- <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:30 -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#219
No description provided.