Verified Commit 4a83bbda authored by insert's avatar insert

Change native mod to feature, easing compile times for libraries.

parent cbeb614f
......@@ -6,9 +6,14 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = [ "native" ]
native = [ "glutin", "takeable-option" ]
[dependencies]
hashbrown = "0.7.2"
glutin = "0.24.0"
takeable-option = "0.5.0"
glutin = { version = "0.24.0", optional = true }
takeable-option = { version = "0.5.0", optional = true }
gl = "0.14.0"
nalgebra-glm = "0.7.0"
pub extern crate nalgebra_glm as glm;
#[cfg(feature = "native")]
pub mod native;
pub mod render;
pub mod util;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment