lib.rs 541 Bytes
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
1
#![crate_name="orbclient"]
2
#![crate_type="lib"]
3
#![feature(associated_consts)]
4
#![feature(const_fn)]
5
#![feature(box_syntax)]
6
#![feature(deprecated)]
7

8 9
#![deny(warnings)]

10
extern crate core;
11

Jeremy Soller's avatar
Jeremy Soller committed
12 13
pub static FONT: &'static [u8] = include_bytes!("../res/unifont.font");

14
pub use bmp::BmpFile;
Jeremy Soller's avatar
Jeremy Soller committed
15
pub use color::Color;
16 17 18 19
pub use event::*;
pub use window::Window;

pub mod bmp;
Jeremy Soller's avatar
Jeremy Soller committed
20
pub mod color;
21
pub mod event;
Jeremy Soller's avatar
Jeremy Soller committed
22 23 24

#[cfg(target_os = "redox")]
#[path="orbital/window.rs"]
25
pub mod window;
Jeremy Soller's avatar
Jeremy Soller committed
26 27 28 29

#[cfg(not(target_os = "redox"))]
#[path="sdl2/window.rs"]
pub mod window;