mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-05 08: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:
14
src/backend/consumer.rs
Normal file
14
src/backend/consumer.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#[cfg(windows)]
|
||||
pub mod windows;
|
||||
|
||||
#[cfg(feature="x11")]
|
||||
pub mod x11;
|
||||
|
||||
#[cfg(feature = "wayland")]
|
||||
pub mod wlroots;
|
||||
|
||||
#[cfg(feature = "xdg_desktop_portal")]
|
||||
pub mod xdg_desktop_portal;
|
||||
|
||||
#[cfg(feature = "libei")]
|
||||
pub mod libei;
|
||||
Reference in New Issue
Block a user