dd09b48917c87d5bf4fbe770d551efce033cf68e
[mandelwow.git] / Cargo.toml
1 [package]
2 name = "mandelwow"
3 version = "0.7.0"
4 authors = ["Bernie Innocenti <bernie@codewiz.org>"]
5 license = "GPL-3.0+"
6
7 [profile.release]
8 lto = true
9 # the crate `bitflags` is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`
10 panic = "unwind"
11 opt-level = 3
12
13 [dependencies]
14 cgmath = "*"
15 glium = "0.20"
16 glutin = "0.12"
17 image = { version = "0.18", features = ["png_codec"], optional = true }
18 libxm = "1.0.0"
19 rust-rocket = { path = "rust-rocket", optional = true }
20 rand = "*"
21 sdl2 = "*"
22
23 [features]
24 default = ["image", "logging"]
25 min = []
26 logging = []
27 editor = ["rust-rocket"]
28
29 #[replace]
30 #"glutin:0.7.4" = { path = "/home/bernie/src/glutin" }
31 #"glium:0.16.0" = { path = "/home/bernie/src/glium" }
32
33 [target.armv7-linux-androideabi]
34 ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar"
35 linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang"
36
37 [lib]
38 name = "mandelwow_lib"
39 path = "lib.rs"
40
41 [[bin]]
42 name = "mandelwow"
43 path = "main.rs"