minemod/Cargo.toml

130 lines
3.8 KiB
TOML

[package]
name = "minemod"
version = "0.1.0"
edition = "2024"
default-run = "minemod"
[package.metadata.vita]
title_id = "PKDC10002"
title_name = "MineMod"
# assets = "somewhere" # TODO make this a build.rs output folder so we can use build.rs to manage vita assets
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
# panic = "abort" # Vita platform doesnt support abort currently
strip = "debuginfo"
# this should be working but isnt
# [target.'cfg(target_os = "vita")']
# [target.'armv7-sony-vita-newlibeabihf']
# rustflags = ["-C","panic=unwind"]
[profile.release.package."*"]
opt-level = 3
codegen-units = 1
strip = "debuginfo"
[profile.dev.package."*"]
opt-level = 3
[profile.wasm-release]
inherits = "release"
opt-level = "z"
strip = true
[workspace]
members = []
# [patch."ssh://user@domain.com/repository.git"]
# namespace = { path = "path/to/thing" }
[build-dependencies]
shaderc = "0.8.3" # APACHE 2.0
num_cpus = "1.16.0" # MIT
jobserver = "0.1.32" # MIT
gl_generator = "0.14" # APACHE 2.0
[dependencies]
tracing = { version = "0.1.41", features = [
"max_level_debug",
"release_max_level_warn",
] } # MIT
tracing-subscriber = "0.3.19" # MIT
log = "0.4.25" # MIT
anyhow = "1.0.95" # MIT
thiserror = "2.0.11" # MIT
nalgebra = "0.33.2" # APACHE 2.0
glam = "0.29.2"
cgmath = "0.18.0" # APACHE 2.0
image = "0.25.5" # MIT
# png = "0.17.16" # MIT
tobj = { version = "4.0.2", features = ["log"] } # MIT
rand = "0.9.0"
#image_full = { package = "image", version = "0.25.5" }
#image = { version = "0.25.5", default-features = false }
#image_dds = "0.7.1"
tbc = "0.3.0"
[target.'cfg(any(target_os = "windows",target_os = "linux",target_os = "macos"))'.dependencies]
tokio = { version = "1.43.0", features = ["full"] } # MIT
ctrlc = "3.4.5" # MIT
glfw = "0.59.0"
#glfw = {version = "0.59.0", default-features = false, features = ["raw-window-handle-v0-6"]} # we literally just need the window management parts # nevermind this crashes immediately
## vulkan
vulkanalia = { version = "0.26.0", features = [
"libloading",
"provisional",
"window",
] } # APACHE 2.0
# kept for now so the vulkan demo works (also the tutorial is using it so once the tutorial is done and i fully understand how vulkan works i will be tossing winit fully and reworking the vulkan structure to better suit the engine)
old_winit = { package = "winit", version = "0.29" } # APACHE 2.0 # dont update, many many breaking changes with no guides
## end vulkan
## opengl
glutin = "0.32.2" # APACHE 2.0
#glutin-winit = "0.5.0" # MIT # no winit >:(
raw-window-handle = "0.6.2" # MIT
# winit is hereby banished from this realm because it pissed me off >:(
# its designed around mobile and desktop, but its mobile side sticks around even when its only being used for desktop and theres no way to cut it out
# on top of its piss poor documentation around the breaking changes in update 0.3
#winit = { version = "0.30.0", features = ["rwh_06"] }
# drm = { version = "0.14.1", optional = true } # MIT
## end opengl
[target.'cfg(target_family = "wasm")'.dependencies]
wgpu = "24.0.0" # MIT
[target.'cfg(target_os = "vita")'.dependencies]
vitasdk-sys = { version = "0.3.3", features = [
"all-stubs",
] } # MIT and VITASDK themselves use MIT as well
concat-idents = "1.1.5" # MIT
libc = "0.2.153" # MIT
rand = "0.9.0" # MIT
tokio = { version = "1.36.0", features = [
"fs",
"macros",
"bytes",
"io-std",
"io-util",
"rt",
"rt-multi-thread",
"net",
"tracing",
"time",
] } # MIT
[target.'cfg(target_os = "windows")'.dependencies]
gfx-backend-dx12 = "0.9.1"
gfx-backend-dx11 = "0.9.0"
[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(target_os = "macos")'.dependencies]
metal = "0.31.0" # MIT
objc = "0.2.7" # MIT