From 6f52f9c75a0cbbd874d9d6fd98647b886379259f Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Mon, 7 May 2018 19:55:34 +0200 Subject: [PATCH] re-export crates that are actually part of the public API --- src/lib.rs | 18 +++++++++--------- src/wayland/seat/mod.rs | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9366821..28f7707 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,27 +7,27 @@ // `error_chain!` can recurse deeply #![recursion_limit = "1024"] -extern crate image; +pub extern crate image; #[cfg_attr(feature = "backend_session", macro_use)] extern crate nix; extern crate tempfile; -extern crate wayland_protocols; -extern crate wayland_server; +pub extern crate wayland_protocols; +pub extern crate wayland_server; extern crate wayland_sys; extern crate xkbcommon; #[cfg(feature = "dbus")] -extern crate dbus; +pub extern crate dbus; #[cfg(feature = "backend_drm")] -extern crate drm; +pub extern crate drm; #[cfg(feature = "backend_drm")] -extern crate gbm; +pub extern crate gbm; #[cfg(feature = "backend_libinput")] -extern crate input; +pub extern crate input; #[cfg(feature = "backend_session_logind")] -extern crate systemd; +pub extern crate systemd; #[cfg(feature = "udev")] -extern crate udev; +pub extern crate udev; #[cfg(feature = "backend_winit")] extern crate wayland_client; #[cfg(feature = "backend_winit")] diff --git a/src/wayland/seat/mod.rs b/src/wayland/seat/mod.rs index 9684636..35ceb58 100644 --- a/src/wayland/seat/mod.rs +++ b/src/wayland/seat/mod.rs @@ -59,7 +59,7 @@ use std::sync::{Arc, Mutex}; mod keyboard; mod pointer; -pub use self::keyboard::{Error as KeyboardError, KeyboardHandle, ModifiersState}; +pub use self::keyboard::{Error as KeyboardError, KeyboardHandle, ModifiersState, Keysym, keysyms}; pub use self::pointer::{PointerAxisHandle, PointerHandle}; use wayland_server::{Display, Global, LoopToken, NewResource, Resource}; use wayland_server::protocol::wl_seat;