X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=lib.rs;h=2afc947314b23b7e19db9faf87b937dbcc820594;hb=45391f3ccaa74be2be93e4b31507f45939afa4b0;hp=eba89b1fb1b776a6702cb365e392fa672c037b69;hpb=5466a1137a9a4b27a99b83c45c0b337775bacf7c;p=mandelwow.git diff --git a/lib.rs b/lib.rs index eba89b1..2afc947 100644 --- a/lib.rs +++ b/lib.rs @@ -5,7 +5,7 @@ extern crate glutin; #[cfg(feature = "image")] extern crate image; extern crate libxm; -#[cfg(feature = "rust_rocket")] +#[cfg(feature = "editor")] extern crate rust_rocket; extern crate sdl2; @@ -16,6 +16,7 @@ pub mod shaded_cube; pub mod sound; pub mod support; pub mod text; +pub mod timer; pub use bounding_box::BoundingBox; pub use cube::Cube; @@ -31,5 +32,5 @@ pub fn screenshot(display : &glium::Display) { } #[cfg(not(feature = "image"))] -pub fn screenshot(display : &glium::Display) { +pub fn screenshot(_ : &glium::Display) { }