re-export crates that are actually part of the public API

This commit is contained in:
Victor Berger 2018-05-07 19:55:34 +02:00
parent 582e8de316
commit 6f52f9c75a
2 changed files with 10 additions and 10 deletions

View File

@ -7,27 +7,27 @@
// `error_chain!` can recurse deeply // `error_chain!` can recurse deeply
#![recursion_limit = "1024"] #![recursion_limit = "1024"]
extern crate image; pub extern crate image;
#[cfg_attr(feature = "backend_session", macro_use)] #[cfg_attr(feature = "backend_session", macro_use)]
extern crate nix; extern crate nix;
extern crate tempfile; extern crate tempfile;
extern crate wayland_protocols; pub extern crate wayland_protocols;
extern crate wayland_server; pub extern crate wayland_server;
extern crate wayland_sys; extern crate wayland_sys;
extern crate xkbcommon; extern crate xkbcommon;
#[cfg(feature = "dbus")] #[cfg(feature = "dbus")]
extern crate dbus; pub extern crate dbus;
#[cfg(feature = "backend_drm")] #[cfg(feature = "backend_drm")]
extern crate drm; pub extern crate drm;
#[cfg(feature = "backend_drm")] #[cfg(feature = "backend_drm")]
extern crate gbm; pub extern crate gbm;
#[cfg(feature = "backend_libinput")] #[cfg(feature = "backend_libinput")]
extern crate input; pub extern crate input;
#[cfg(feature = "backend_session_logind")] #[cfg(feature = "backend_session_logind")]
extern crate systemd; pub extern crate systemd;
#[cfg(feature = "udev")] #[cfg(feature = "udev")]
extern crate udev; pub extern crate udev;
#[cfg(feature = "backend_winit")] #[cfg(feature = "backend_winit")]
extern crate wayland_client; extern crate wayland_client;
#[cfg(feature = "backend_winit")] #[cfg(feature = "backend_winit")]

View File

@ -59,7 +59,7 @@ use std::sync::{Arc, Mutex};
mod keyboard; mod keyboard;
mod pointer; 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}; pub use self::pointer::{PointerAxisHandle, PointerHandle};
use wayland_server::{Display, Global, LoopToken, NewResource, Resource}; use wayland_server::{Display, Global, LoopToken, NewResource, Resource};
use wayland_server::protocol::wl_seat; use wayland_server::protocol::wl_seat;