Fix benchmarks for latest glium/glutin API
[mandelwow.git] / Cargo.toml
index 516775948420000cd8d0f28f9c56bbf18e89ee63..4143b23da253e3d88cdabc209280ca0dfca73074 100644 (file)
@@ -1,33 +1,47 @@
+#cargo-features = ["edition"]
+
 [package]
 name = "mandelwow"
-version = "0.5.0"
+version = "0.7.0"
 authors = ["Bernie Innocenti <bernie@codewiz.org>"]
 license = "GPL-3.0+"
+edition = '2018'
 
 [profile.release]
-#lto = true
-#panic = 'abort'
+lto = true
+panic = "unwind"
+opt-level = 3
 
 [dependencies]
 cgmath = "*"
-glium = "0.15.0"
-glutin = "0.6.2"
-genmesh = "0.4.1"
-image = "0.12.0"
-obj = { version = "0.5", features = ["usegenmesh"] }
-
-[target.'cfg(not(target_os = "emscripten"))'.dependencies]
+#gleam = "*"
+glium = "0.30"
+glutin = "0.27"
+winit = { version = "0.25", features = ["web-sys"] }
+image = { version = "*", features = ["png_codec"], optional = true }
+instant = { version = "0.1", features = ["wasm-bindgen"] }
 libxm = "1.0.0"
+rust-rocket = { path = "rust-rocket", optional = true }
+rand = "*"
 sdl2 = "*"
-backtrace = "0.2.2"
-backtrace-sys = "0.1.10"
 
-[target.'cfg(target_os = "emscripten")'.dependencies]
-glutin = "0.6.1"
-backtrace = "0.2.3"
+[features]
+default = ["image", "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"
 
-[replace]
-"backtrace:0.2.3" = { git = "https://github.com/badboy/backtrace-rs", branch = "emscripten-fix" }
+[lib]
+name = "mandelwow_lib"
+path = "lib.rs"
 
 [[bin]]
 name = "mandelwow"