mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-21 21:22:44 +00:00
117 lines
3.9 KiB
TOML
117 lines
3.9 KiB
TOML
[package]
|
|
name = "doukutsu-rs"
|
|
description = "A re-implementation of Cave Story (Doukutsu Monogatari) engine"
|
|
version = "1.0.0"
|
|
edition = "2021"
|
|
rust-version = "1.78"
|
|
|
|
[lib]
|
|
crate-type = ["lib"]
|
|
|
|
[[bin]]
|
|
name = "doukutsu-rs"
|
|
path = "src/main.rs"
|
|
test = false
|
|
bench = false
|
|
required-features = ["exe"]
|
|
|
|
[profile.release]
|
|
lto = "off"
|
|
panic = "abort"
|
|
codegen-units = 256
|
|
incremental = true
|
|
split-debuginfo = "packed"
|
|
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
overflow-checks = false
|
|
codegen-units = 256
|
|
|
|
[package.metadata.bundle]
|
|
name = "doukutsu-rs"
|
|
identifier = "io.github.doukutsu_rs"
|
|
version = "1.0.0"
|
|
resources = ["data"]
|
|
copyright = "Copyright (c) 2020-2024 doukutsu-rs contributors"
|
|
category = "Game"
|
|
osx_minimum_system_version = "10.12"
|
|
|
|
[features]
|
|
default = ["default-base", "backend-sdl", "render-opengl", "render-wgpu", "exe", "webbrowser", "discord-rpc"]
|
|
default-base = ["ogg-playback"]
|
|
ogg-playback = ["lewton"]
|
|
backend-sdl = ["sdl2", "sdl2-sys"]
|
|
backend-winit = ["winit", "glutin"]
|
|
backend-horizon = []
|
|
render-opengl = []
|
|
render-wgpu = ["wgpu"]
|
|
discord-rpc = ["discord-rich-presence"]
|
|
netplay = ["serde_cbor"]
|
|
editor = []
|
|
exe = []
|
|
android = []
|
|
|
|
[dependencies]
|
|
#glutin = { path = "./3rdparty/glutin/glutin", optional = true }
|
|
#winit = { path = "./3rdparty/winit", optional = true, default-features = false, features = ["x11"] }
|
|
#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"] }
|
|
#cpal = { path = "./3rdparty/cpal" }
|
|
bitfield = "0.16"
|
|
byteorder = "1.4"
|
|
case_insensitive_hashmap = "1.0.0"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
cpal = { git = "https://github.com/doukutsu-rs/cpal", rev = "9d269d8724102404e73a61e9def0c0cbc921b676" }
|
|
directories = "5"
|
|
discord-rich-presence = { version = "0.2", optional = true }
|
|
downcast = "0.11"
|
|
encoding_rs = "0.8.33"
|
|
glutin = { version = "0.32.0", optional = true }
|
|
imgui = { git = "https://github.com/imgui-rs/imgui-rs.git", rev = "67f7f11363e62f09aa0e1288a17800e505860486" }
|
|
image = { version = "0.25", default-features = false, features = ["png", "bmp"] }
|
|
itertools = "0.13.0"
|
|
include-flate = "0.3.0"
|
|
lazy_static = "1.4"
|
|
lewton = { version = "0.10", optional = true }
|
|
log = { version = "0.4", features = ["release_max_level_info"] }
|
|
num-derive = "0.4"
|
|
num-traits = "0.2"
|
|
open = "3.2"
|
|
paste = "1.0"
|
|
pelite = { version = ">=0.9.2", default-features = false, features = ["std"] }
|
|
pollster = "0.3.0"
|
|
sdl2 = { version = "0.37", optional = true, features = ["unsafe_textures", "bundled", "static-link", "raw-window-handle", "use-bindgen"] }
|
|
sdl2-sys = { version = "0.37", optional = true, features = ["bundled", "static-link", "use-bindgen"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_derive = "1"
|
|
serde_cbor = { version = "0.11", optional = true }
|
|
serde_json = "1.0"
|
|
simple_logger = { version = "5.0.0", features = ["colors", "threads"] }
|
|
strum = "0.26"
|
|
strum_macros = "0.26"
|
|
# remove and replace when extract_if is in stable
|
|
vec_mut_scan = "0.4"
|
|
webbrowser = { version = "1.0.1", optional = true }
|
|
wgpu = { git = "https://github.com/gfx-rs/wgpu.git", rev = "aadca17885e60ee4527da7559334dacec3b57475", optional = true }
|
|
winit = { version = "0.30.2", optional = true, default-features = false, features = ["x11"] }
|
|
xmltree = "0.10"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = { version = "0.3", features = ["winuser"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.build-dependencies]
|
|
winres = "0.1"
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
objc2 = "0.5.2"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
ndk = "0.7"
|
|
ndk-glue = "0.7"
|
|
ndk-sys = "0.4"
|
|
jni = "0.20"
|
|
|
|
[target.'cfg(target_os = "horizon")'.dependencies]
|
|
#deko3d = { path = "./3rdparty/deko3d" }
|
|
deko3d = { git = "https://github.com/doukutsu-rs/deko3d-rs", rev = "acddd174321c842367971faeb9aebcdb99ddfef3" }
|