Replace std::time with the wasm-compatible crate instant
[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 #gleam = "*"
18 glium = "0.27"
19 glutin = "0.24"
20 image = { version = "*", features = ["png_codec"], optional = true }
21 instant = "*"
22 libxm = "1.0.0"
23 rust-rocket = { path = "rust-rocket", optional = true }
24 rand = "*"
25 sdl2 = "*"
26 winit = { version = "*", features = ["stdweb"] }
27
28 [features]
29 default = ["image", "logging"]
30 min = []
31 logging = []
32 editor = ["rust-rocket"]
33
34 #[replace]
35 #"glutin:0.7.4" = { path = "/home/bernie/src/glutin" }
36 #"glium:0.16.0" = { path = "/home/bernie/src/glium" }
37
38 [target.armv7-linux-androideabi]
39 ar = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-ar"
40 linker = "$ANDROID_NDK_HOME/arm/bin/arm-linux-androideabi-clang"
41
42 [lib]
43 name = "mandelwow_lib"
44 path = "lib.rs"
45
46 [[bin]]
47 name = "mandelwow"
48 path = "main.rs"