2020-08-18 16:46:07 +00:00
|
|
|
[package]
|
|
|
|
name = "doukutsu-rs"
|
2021-08-13 01:46:41 +00:00
|
|
|
description = "A re-implementation of Cave Story (Doukutsu Monogatari) engine"
|
2022-11-19 17:20:03 +00:00
|
|
|
version = "0.100.0"
|
2022-01-16 01:52:33 +00:00
|
|
|
authors = ["Alula", "dawnDus"]
|
2022-11-19 17:20:03 +00:00
|
|
|
edition = "2021"
|
2020-08-18 16:46:07 +00:00
|
|
|
|
2021-02-24 08:28:47 +00:00
|
|
|
[lib]
|
2021-03-23 03:40:02 +00:00
|
|
|
crate-type = ["lib"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "doukutsu-rs"
|
|
|
|
path = "src/main.rs"
|
|
|
|
test = false
|
|
|
|
bench = false
|
|
|
|
required-features = ["exe"]
|
|
|
|
|
2020-08-18 16:46:07 +00:00
|
|
|
[profile.release]
|
2022-11-20 19:38:36 +00:00
|
|
|
lto = "thin"
|
2021-10-14 04:54:11 +00:00
|
|
|
panic = "abort"
|
2020-08-18 16:46:07 +00:00
|
|
|
|
2020-11-04 23:25:18 +00:00
|
|
|
[profile.dev.package."*"]
|
|
|
|
opt-level = 3
|
2022-12-01 13:30:59 +00:00
|
|
|
overflow-checks = false
|
2020-11-04 23:25:18 +00:00
|
|
|
|
2021-08-13 01:46:41 +00:00
|
|
|
[package.metadata.bundle]
|
|
|
|
name = "doukutsu-rs"
|
|
|
|
identifier = "io.github.doukutsu_rs"
|
2022-11-19 17:20:03 +00:00
|
|
|
version = "0.100.0"
|
2021-08-13 01:46:41 +00:00
|
|
|
resources = ["data"]
|
2022-12-01 13:30:59 +00:00
|
|
|
copyright = "Copyright (c) 2020-2022 doukutsu-rs contributors"
|
2021-08-13 01:46:41 +00:00
|
|
|
category = "Game"
|
|
|
|
osx_minimum_system_version = "10.12"
|
|
|
|
|
2021-01-01 01:46:01 +00:00
|
|
|
[features]
|
2022-11-21 14:15:51 +00:00
|
|
|
default = ["default-base", "backend-sdl", "render-opengl", "exe", "webbrowser"]
|
2022-11-19 17:20:03 +00:00
|
|
|
default-base = ["ogg-playback"]
|
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-04-14 10:09:40 +00:00
|
|
|
backend-glutin = ["winit", "glutin", "render-opengl"]
|
2022-12-01 13:30:59 +00:00
|
|
|
backend-horizon = []
|
2021-04-14 10:09:40 +00:00
|
|
|
render-opengl = []
|
2021-10-15 14:36:05 +00:00
|
|
|
scripting-lua = ["lua-ffi"]
|
2022-11-19 17:20:03 +00:00
|
|
|
netplay = ["serde_cbor"]
|
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
|
|
|
#glutin = { path = "./3rdparty/glutin/glutin", optional = true }
|
2021-06-27 21:14:36 +00:00
|
|
|
#lua-ffi = { path = "./3rdparty/luajit-rs", optional = true }
|
2021-04-28 19:27:22 +00:00
|
|
|
#winit = { path = "./3rdparty/winit", optional = true, default_features = false, features = ["x11"] }
|
2022-11-21 14:16:57 +00:00
|
|
|
#sdl2 = { path = "./3rdparty/rust-sdl2", optional = true, features = ["unsafe_textures", "bundled", "static-link"] }
|
|
|
|
#sdl2-sys = { path = "./3rdparty/rust-sdl2/sdl2-sys", optional = true, features = ["bundled", "static-link"] }
|
2022-12-01 13:39:07 +00:00
|
|
|
#cpal = { path = "./3rdparty/cpal" }
|
2021-02-10 20:14:09 +00:00
|
|
|
byteorder = "1.4"
|
2020-09-11 12:58:50 +00:00
|
|
|
case_insensitive_hashmap = "1.0.0"
|
2022-11-21 14:15:51 +00:00
|
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
2022-12-01 13:30:59 +00:00
|
|
|
#cpal = "0.14"
|
2021-01-27 18:20:47 +00:00
|
|
|
directories = "3"
|
2022-01-06 01:11:17 +00:00
|
|
|
downcast = "0.11"
|
2022-11-19 17:20:03 +00:00
|
|
|
#glutin = { git = "https://github.com/doukutsu-rs/glutin.git", rev = "8dd457b9adb7dbac7ade337246b6356c784272d9", optional = true, default_features = false, features = ["x11"] }
|
|
|
|
glutin = { version = "0.30", optional = true, default_features = false, features = ["x11"] }
|
|
|
|
imgui = "0.8"
|
|
|
|
image = { version = "0.24", default-features = false, features = ["png", "bmp"] }
|
2021-02-10 20:14:09 +00:00
|
|
|
itertools = "0.10"
|
2022-11-19 17:20:03 +00:00
|
|
|
lazy_static = "1.4"
|
|
|
|
lewton = { version = "0.10", optional = true }
|
2020-08-18 16:46:07 +00:00
|
|
|
log = "0.4"
|
2021-06-27 21:14:36 +00:00
|
|
|
lua-ffi = { git = "https://github.com/doukutsu-rs/lua-ffi.git", rev = "e0b2ff5960f7ef9974aa9675cebe4907bee0134f", optional = true }
|
2022-11-19 17:20:03 +00:00
|
|
|
num-derive = "0.3"
|
|
|
|
num-traits = "0.2"
|
|
|
|
paste = "1.0"
|
2022-11-21 14:15:51 +00:00
|
|
|
pelite = { version = ">=0.9.2", default-features = false, features = ["std"] }
|
2022-11-21 14:16:57 +00:00
|
|
|
sdl2 = { git = "https://github.com/doukutsu-rs/rust-sdl2.git", rev = "95bcf63768abf422527f86da41da910649b9fcc9", optional = true, features = ["unsafe_textures", "bundled", "static-link"] }
|
|
|
|
sdl2-sys = { git = "https://github.com/doukutsu-rs/rust-sdl2.git", rev = "95bcf63768abf422527f86da41da910649b9fcc9", optional = true, features = ["bundled", "static-link"] }
|
2022-11-20 19:38:36 +00:00
|
|
|
rc-box = "1.2.0"
|
2021-01-27 18:20:47 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2020-11-17 02:42:45 +00:00
|
|
|
serde_derive = "1"
|
2022-11-19 17:20:03 +00:00
|
|
|
serde_cbor = { version = "0.11", optional = true }
|
2021-06-21 11:12:58 +00:00
|
|
|
serde_json = "1.0"
|
2022-01-06 01:11:17 +00:00
|
|
|
simple_logger = { version = "1.16", features = ["colors", "threads"] }
|
2022-11-19 17:20:03 +00:00
|
|
|
strum = "0.24"
|
|
|
|
strum_macros = "0.24"
|
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"
|
2022-11-21 14:15:51 +00:00
|
|
|
webbrowser = { version = "0.8", optional = true }
|
2022-11-19 17:20:03 +00:00
|
|
|
#winit = { git = "https://github.com/alula/winit.git", rev = "6acf76ff192dd8270aaa119b9f35716c03685f9f", optional = true, default_features = false, features = ["x11"] }
|
|
|
|
winit = { version = "0.27", optional = true, default_features = false, features = ["x11"] }
|
|
|
|
xmltree = "0.10"
|
2021-02-24 08:28:47 +00:00
|
|
|
|
2022-12-01 13:39:07 +00:00
|
|
|
[target.'cfg(not(target_os = "horizon"))'.dependencies]
|
|
|
|
cpal = "0.14"
|
|
|
|
|
2021-01-27 18:20:47 +00:00
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
winapi = { version = "0.3", features = ["winuser"] }
|
2022-03-22 03:51:13 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.build-dependencies]
|
2022-03-22 04:26:38 +00:00
|
|
|
winres = "0.1"
|
2020-10-07 14:08:12 +00:00
|
|
|
|
2021-08-13 01:46:41 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2022-11-19 17:20:03 +00:00
|
|
|
objc = "0.2"
|
2021-08-13 01:46:41 +00:00
|
|
|
|
2020-10-07 14:08:12 +00:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
2022-11-19 17:20:03 +00:00
|
|
|
ndk = "0.7"
|
|
|
|
ndk-glue = "0.7"
|
|
|
|
ndk-sys = "0.4"
|
|
|
|
jni = "0.20"
|
2022-11-21 14:15:51 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "horizon")'.dependencies]
|
2022-12-01 13:30:59 +00:00
|
|
|
#deko3d = { path = "./3rdparty/deko3d" }
|
2022-12-01 13:39:07 +00:00
|
|
|
cpal = { git = "https://github.com/doukutsu-rs/cpal", branch = "master" }
|
2022-12-01 13:30:59 +00:00
|
|
|
deko3d = { git = "https://github.com/doukutsu-rs/deko3d-rs", branch = "master" }
|