Port to glium 0.17 and glutin 0.9.
[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.17.0"
16 glutin = "0.9"
17 genmesh = "0.4.1"
18 image = { version = "0.14.0", features = ["png_codec"], optional = true }
19 libxm = "1.0.0"
20 obj = { version = "0.5", features = ["usegenmesh"] }
21 rust-rocket = { path = "rust-rocket", optional = true }
22 rand = "*"
23 sdl2 = "*"
24
25 [features]
26 default = ["image", "logging"]
27 min = []
28 logging = []
29 editor = ["rust-rocket"]
30
31 #[replace]
32 #"glutin:0.7.4" = { path = "/home/bernie/src/glutin" }
33 #"glium:0.16.0" = { path = "/home/bernie/src/glium" }
34
35 [target.armv7-linux-androideabi]
36 ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar"
37 linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang"
38
39 [lib]
40 name = "mandelwow_lib"
41 path = "lib.rs"
42
43 [[bin]]
44 name = "mandelwow"
45 path = "main.rs"