mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-17 18:11:28 +03:00
enable conditional compilation for all backends
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 commit is contained in:
6
src/backend/producer.rs
Normal file
6
src/backend/producer.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
#[cfg(feature = "wayland")]
|
||||
pub mod wayland;
|
||||
#[cfg(windows)]
|
||||
pub mod windows;
|
||||
#[cfg(feature = "x11")]
|
||||
pub mod x11;
|
||||
Reference in New Issue
Block a user