2020-08-18 16:46:07 +00:00
|
|
|
[package]
|
2020-12-06 15:42:05 +00:00
|
|
|
authors = ["Alula"]
|
2020-08-18 16:46:07 +00:00
|
|
|
edition = "2018"
|
|
|
|
name = "doukutsu-rs"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2021-02-24 08:28:47 +00:00
|
|
|
[lib]
|
2021-03-23 03:40:02 +00:00
|
|
|
#crate-type = ["lib", "cdylib"]
|
|
|
|
crate-type = ["lib"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "doukutsu-rs"
|
|
|
|
path = "src/main.rs"
|
|
|
|
test = false
|
|
|
|
bench = false
|
|
|
|
required-features = ["exe"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "drsandroid"
|
|
|
|
path = "src/main_android.rs"
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
test = false
|
|
|
|
bench = false
|
|
|
|
required-features = ["android"]
|
2020-10-07 14:08:12 +00:00
|
|
|
|
2020-08-18 16:46:07 +00:00
|
|
|
[profile.release]
|
2020-09-24 13:28:14 +00:00
|
|
|
lto = 'thin'
|
2020-08-18 16:46:07 +00:00
|
|
|
panic = 'abort'
|
|
|
|
|
2020-11-04 23:25:18 +00:00
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.dev.build-override]
|
|
|
|
opt-level = 1
|
|
|
|
|
|
|
|
[profile.release.build-override]
|
2020-08-29 00:33:03 +00:00
|
|
|
opt-level = 1
|
|
|
|
|
2021-01-01 01:46:01 +00:00
|
|
|
[features]
|
2021-03-23 03:40:02 +00:00
|
|
|
default = ["scripting", "backend-sdl", "ogg-playback", "netplay", "exe"]
|
2021-02-10 20:14:09 +00:00
|
|
|
ogg-playback = ["lewton"]
|
2021-03-23 03:40:02 +00:00
|
|
|
backend-sdl = ["sdl2", "sdl2-sys"]
|
2021-02-24 08:28:47 +00:00
|
|
|
#backend-sokol = ["sokol"]
|
|
|
|
backend-glutin = ["winit", "glutin"]
|
2021-01-01 01:46:01 +00:00
|
|
|
scripting = ["lua-ffi"]
|
2021-03-12 16:55:20 +00:00
|
|
|
netplay = []
|
2021-01-01 01:46:01 +00:00
|
|
|
editor = []
|
2021-03-23 03:40:02 +00:00
|
|
|
exe = []
|
|
|
|
android = []
|
2021-01-01 01:46:01 +00:00
|
|
|
|
2020-08-18 16:46:07 +00:00
|
|
|
[dependencies]
|
2021-02-24 08:28:47 +00:00
|
|
|
#cpal = { path = "./3rdparty/cpal" }
|
|
|
|
#glutin = { path = "./3rdparty/glutin/glutin", optional = true }
|
2021-02-10 20:14:09 +00:00
|
|
|
bitvec = "0.20"
|
|
|
|
byteorder = "1.4"
|
2020-09-11 12:58:50 +00:00
|
|
|
case_insensitive_hashmap = "1.0.0"
|
2020-11-02 01:38:39 +00:00
|
|
|
chrono = "0.4"
|
2021-02-24 08:28:47 +00:00
|
|
|
cpal = { git = "https://github.com/doukutsu-rs/cpal.git", rev = "e027550be0b93b7e2912c7de28a4944a7d04e070" }
|
2021-01-27 18:20:47 +00:00
|
|
|
directories = "3"
|
2021-02-26 00:02:03 +00:00
|
|
|
funty = "=1.1.0" # https://github.com/bitvecto-rs/bitvec/issues/105
|
2021-02-24 08:28:47 +00:00
|
|
|
glutin = { git = "https://github.com/doukutsu-rs/glutin.git", rev = "a34ee3c99b3c999b638ca2bae53cf96df2b94c04", optional = true }
|
2021-02-10 11:53:49 +00:00
|
|
|
imgui = "0.7.0"
|
2021-02-10 20:14:09 +00:00
|
|
|
image = { version = "0.23", default-features = false, features = ["png", "bmp"] }
|
|
|
|
itertools = "0.10"
|
2020-08-18 16:46:07 +00:00
|
|
|
lazy_static = "1.4.0"
|
2021-02-10 20:14:09 +00:00
|
|
|
lewton = { version = "0.10.2", optional = true }
|
2020-08-18 16:46:07 +00:00
|
|
|
log = "0.4"
|
2021-01-27 18:20:47 +00:00
|
|
|
lua-ffi = { git = "https://github.com/doukutsu-rs/lua-ffi.git", rev = "1ef3caf772d72068297ddf75df06fd2ef8c1daab", optional = true }
|
2020-08-27 02:43:21 +00:00
|
|
|
lru = "0.6.0"
|
|
|
|
num-derive = "0.3.2"
|
2020-08-18 16:46:07 +00:00
|
|
|
num-traits = "0.2.12"
|
|
|
|
paste = "1.0.0"
|
|
|
|
pretty_env_logger = "0.4.0"
|
2021-03-23 03:40:02 +00:00
|
|
|
sdl2 = { version = "=0.34.2", optional = true, features = ["unsafe_textures", "bundled", "static-link"] }
|
|
|
|
sdl2-sys = { version = "=0.34.2", optional = true, features = ["bundled", "static-link"] }
|
2021-02-24 08:28:47 +00:00
|
|
|
#sokol = { git = "https://github.com/doukutsu-rs/sokol-rs.git", rev = "", optional = true }
|
2021-01-27 18:20:47 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2020-11-17 02:42:45 +00:00
|
|
|
serde_derive = "1"
|
|
|
|
serde_yaml = "0.8"
|
2021-02-10 20:14:09 +00:00
|
|
|
strum = "0.20"
|
|
|
|
strum_macros = "0.20"
|
2020-09-16 13:21:30 +00:00
|
|
|
# remove and replace when drain_filter is in stable
|
2021-02-10 20:14:09 +00:00
|
|
|
vec_mut_scan = "0.4"
|
2020-09-22 19:31:47 +00:00
|
|
|
webbrowser = "0.5.5"
|
2021-02-24 08:28:47 +00:00
|
|
|
winit = { version = "0.24", optional = true }
|
|
|
|
|
|
|
|
#[build-dependencies]
|
|
|
|
#gl_generator = { version = "0.14.0", optional = true }
|
2021-01-27 18:20:47 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
winapi = { version = "0.3", features = ["winuser"] }
|
2020-10-07 14:08:12 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2021-02-24 08:28:47 +00:00
|
|
|
ndk = "0.2"
|
|
|
|
ndk-glue = "0.2"
|
|
|
|
ndk-sys = "0.2"
|
2021-02-10 20:14:09 +00:00
|
|
|
jni = "0.19"
|