X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=Cargo.toml;h=c7f4875da4cd470264b255096c9bfe8de5e21d31;hb=a8aebfadf8f18928b3f8ced81a7f0d4a4421466d;hp=4e927c4d69de24804b2ec0588608a240f6bac454;hpb=bcda449dea3673fecf4c0ea5c96799f4bc4e59a2;p=mandelwow.git diff --git a/Cargo.toml b/Cargo.toml index 4e927c4..c7f4875 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,20 +5,27 @@ authors = ["Bernie Innocenti "] license = "GPL-3.0+" [profile.release] -#lto = true -panic = 'abort' +lto = true +# the crate `bitflags` is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind` +panic = "unwind" +opt-level = 3 [dependencies] cgmath = "*" -glium = "0.16.0" -glutin = "0.7.4" -genmesh = "0.4.1" -image = { version = "0.14.0", features = ["png_codec"] } +glium = "0.17.0" +glutin = "0.9" +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", "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" }