projects
/
mandelwow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable Rocket in the default build and update build instructions.
[mandelwow.git]
/
lib.rs
diff --git
a/lib.rs
b/lib.rs
index eba89b1fb1b776a6702cb365e392fa672c037b69..2afc947314b23b7e19db9faf87b937dbcc820594 100644
(file)
--- a/
lib.rs
+++ b/
lib.rs
@@
-5,7
+5,7
@@
extern crate glutin;
#[cfg(feature = "image")]
extern crate image;
extern crate libxm;
#[cfg(feature = "image")]
extern crate image;
extern crate libxm;
-#[cfg(feature = "
rust_rocket
")]
+#[cfg(feature = "
editor
")]
extern crate rust_rocket;
extern crate sdl2;
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 sound;
pub mod support;
pub mod text;
+pub mod timer;
pub use bounding_box::BoundingBox;
pub use cube::Cube;
pub use bounding_box::BoundingBox;
pub use cube::Cube;
@@
-31,5
+32,5
@@
pub fn screenshot(display : &glium::Display) {
}
#[cfg(not(feature = "image"))]
}
#[cfg(not(feature = "image"))]
-pub fn screenshot(
display
: &glium::Display) {
+pub fn screenshot(
_
: &glium::Display) {
}
}