lib.rs 427 Bytes
Newer Older
Jeremy Soller's avatar
Jeremy Soller committed
1
#![crate_name="orbclient"]
2
#![crate_type="lib"]
3
#![feature(const_fn)]
4

5 6
#![deny(warnings)]

7
extern crate core;
8

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

Jeremy Soller's avatar
Jeremy Soller committed
11
pub use color::Color;
12 13 14
pub use event::*;
pub use window::Window;

Jeremy Soller's avatar
Jeremy Soller committed
15
pub mod color;
16
pub mod event;
Jeremy Soller's avatar
Jeremy Soller committed
17 18 19

#[cfg(target_os = "redox")]
#[path="orbital/window.rs"]
20
pub mod window;
Jeremy Soller's avatar
Jeremy Soller committed
21 22 23 24

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