projects
/
mandelwow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak release options to shrink the binary a bit.
[mandelwow.git]
/
Cargo.toml
diff --git
a/Cargo.toml
b/Cargo.toml
index 15bdfca41589301be4a07bd462e77e154bc142c2..00a6fc19a682a13d64fc8233d074d063a0f555da 100644
(file)
--- a/
Cargo.toml
+++ b/
Cargo.toml
@@
-5,31
+5,34
@@
authors = ["Bernie Innocenti <bernie@codewiz.org>"]
license = "GPL-3.0+"
[profile.release]
license = "GPL-3.0+"
[profile.release]
-#lto = true
-panic = 'abort'
+lto = true
+panic = "abort"
+opt-level = 3
[dependencies]
cgmath = "*"
glium = "0.16.0"
glutin = "0.7.4"
genmesh = "0.4.1"
[dependencies]
cgmath = "*"
glium = "0.16.0"
glutin = "0.7.4"
genmesh = "0.4.1"
-image = { version = "0.13.0", features = ["png_codec"] }
-obj = { version = "0.5", features = ["usegenmesh"] }
+image = { version = "0.14.0", features = ["png_codec"], optional = true }
libxm = "1.0.0"
libxm = "1.0.0"
+obj = { version = "0.5", features = ["usegenmesh"] }
+rust-rocket = { path = "rust-rocket", optional = true }
+rand = "*"
sdl2 = "*"
sdl2 = "*"
-[target.'cfg(not(target_os = "emscripten"))'.dependencies]
-backtrace = "0.2.2"
-backtrace-sys = "0.1.10"
-
-[target.'cfg(target_os = "emscripten")'.dependencies]
-backtrace = "0.2.3"
+[features]
+default = ["rust-rocket", "image"]
+min = []
[replace]
[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" }
"glutin:0.7.4" = { path = "/home/bernie/src/glutin" }
"glium:0.16.0" = { path = "/home/bernie/src/glium" }
+[target.armv7-linux-androideabi]
+ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar"
+linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang"
+
[lib]
name = "mandelwow_lib"
path = "lib.rs"
[lib]
name = "mandelwow_lib"
path = "lib.rs"