Small tweaks to debug build scripts
[mandelwow.git] / Cargo.toml
1 #cargo-features = ["edition"]
2
3 [package]
4 name = "mandelwow"
5 version = "0.7.0"
6 authors = ["Bernie Innocenti <bernie@codewiz.org>"]
7 license = "GPL-3.0+"
8 #edition = '2018'
9
10 [profile.release]
11 lto = true
12 panic = "unwind"
13 opt-level = 3
14
15 [dependencies]
16 cgmath = "*"
17 glium = "0.22"
18 glutin = "0.18"
19 image = { version = "0.20", features = ["png_codec"], optional = true }
20 libxm = "1.0.0"
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"