X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=Cargo.toml;h=f327b65330466c59a43c329cc5be7cbbd9309657;hb=61b82c37bc1798c4878bea2ca0139f3b9ad8ecd8;hp=a858c2fb0bcaf798989304961f2f7bf971578d30;hpb=48867a083c40e3f2593f9c7f5ecc8a1792d65b9b;p=mandelwow.git diff --git a/Cargo.toml b/Cargo.toml index a858c2f..f327b65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,21 +1,44 @@ [package] name = "mandelwow" -version = "0.3.0" +version = "0.7.0" authors = ["Bernie Innocenti "] license = "GPL-3.0+" [profile.release] lto = true -panic = 'abort' +panic = "abort" +opt-level = 3 [dependencies] -glium = "*" -glutin = "*" +cgmath = "*" +glium = "0.16.0" +glutin = "0.7.4" genmesh = "0.4.1" -obj = { version = "0.5", features = ["usegenmesh"] } +image = { version = "0.14.0", features = ["png_codec"], optional = true } libxm = "1.0.0" +obj = { version = "0.5", features = ["usegenmesh"] } +rust-rocket = { path = "rust-rocket", optional = true } +rand = "*" sdl2 = "*" +[features] +default = ["image", "editor", "logging"] +min = [] +logging = [] +editor = ["rust-rocket"] + +[replace] +"glutin:0.7.4" = { path = "/home/bernie/src/glutin" } +"glium:0.16.0" = { path = "/home/bernie/src/glium" } + +[target.armv7-linux-androideabi] +ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar" +linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang" + +[lib] +name = "mandelwow_lib" +path = "lib.rs" + [[bin]] name = "mandelwow" path = "main.rs"