minemod/Cargo.toml
2025-01-20 06:22:36 -04:00

92 lines
1.9 KiB
TOML

[package]
name = "minemod"
version = "0.1.0"
edition = "2024"
[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 = 2
lto = true
codegen-units = 1
panic = "abort"
strip = "debuginfo"
[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"
num_cpus = "1.16.0"
jobserver = "0.1.32"
[dependencies]
tracing = { version = "0.1.41", features = [
"max_level_debug",
"release_max_level_warn",
] }
tracing-subscriber = "0.3.19"
log = "0.4.25"
anyhow = "1.0.95"
thiserror = "2.0.11"
cgmath = "0.18.0"
png = "0.17.16"
tobj = { version = "4.0.2", features = ["log"] }
[target.'cfg(any(target_os = "windows",target_os = "linux",target_os = "macos"))'.dependencies]
vulkanalia = { version = "0.26.0", features = [
"libloading",
"provisional",
"window",
] }
winit = "0.29" # dont update, many many breaking changes with no guides
ctrlc = "3.4.5"
tokio = { version = "1.43.0", features = ["full"] }
[target.'cfg(target_family = "wasm")'.dependencies]
wgpu = "24.0.0"
[target.'cfg(target_os = "vita")'.dependencies]
vitasdk-sys = { version = "0.3.3", features = ["all-stubs"] }
concat-idents = "1.1.5"
libc = "0.2.153"
rand = "0.8.5"
tokio = { version = "1.36.0", features = [
"fs",
"macros",
"bytes",
"io-std",
"io-util",
"rt",
"rt-multi-thread",
"net",
"tracing",
"time",
] }
[target.'cfg(target_os = "windows")'.dependencies]
[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(target_os = "macos")'.dependencies]