From 7e3217f96d0461c1cd110e7bc2216df8394bcc52 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Thu, 22 Nov 2018 11:41:15 +0100 Subject: [PATCH] lib: fix feature names for crate imports --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 24e5b49..422b947 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,13 +21,13 @@ extern crate xkbcommon; pub extern crate dbus; #[cfg(feature = "backend_drm")] pub extern crate drm; -#[cfg(feature = "backend_drm")] +#[cfg(feature = "backend_drm_gbm")] pub extern crate gbm; #[cfg(feature = "backend_libinput")] pub extern crate input; #[cfg(feature = "backend_session_logind")] pub extern crate systemd; -#[cfg(feature = "udev")] +#[cfg(feature = "backend_udev")] pub extern crate udev; #[cfg(feature = "backend_winit")] extern crate wayland_client;