X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=Cargo.toml;h=44b8aec0fc409f28c1148d49fb714fbab99fb2a9;hb=68e466bb68ba5e5a748a8e86b6eaedbab400c973;hp=706d69e42201eb06d081115e116114bb91c5c94d;hpb=fb11f5abc7d1b42246f2da48f30bbb90bde10c20;p=mandelwow.git diff --git a/Cargo.toml b/Cargo.toml index 706d69e..44b8aec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,36 @@ [package] name = "mandelwow" -version = "0.1.0" +version = "0.5.0" authors = ["Bernie Innocenti "] +license = "GPL-3.0+" + +[profile.release] +#lto = true +#panic = 'abort' [dependencies] -glium = "*" -glutin = "*" -genmesh = "0.4" +cgmath = "*" +glium = "0.16.0" +glutin = "0.7.4" +genmesh = "0.4.1" +image = "0.12.0" obj = { version = "0.5", features = ["usegenmesh"] } +[target.'cfg(not(target_os = "emscripten"))'.dependencies] +libxm = "1.0.0" +sdl2 = "*" +backtrace = "0.2.2" +backtrace-sys = "0.1.10" + +[target.'cfg(target_os = "emscripten")'.dependencies] +glutin = "0.6.1" +backtrace = "0.2.3" + +[replace] +"backtrace:0.2.3" = { git = "https://github.com/badboy/backtrace-rs", branch = "emscripten-fix" } +"glutin:0.7.4" = { path = "/home/bernie/src/glutin" } +"glium:0.16.0" = { path = "/home/bernie/src/glium" } + [[bin]] name = "mandelwow" -path = "mandelwow.rs" +path = "main.rs"