metaforce/Graphics/Cargo.toml

76 lines
1.9 KiB
TOML

[package]
name = "aurora"
version = "0.0.1"
authors = ["Luke Street <luke@street.dev>"]
edition = "2021"
license = "MIT"
[lib]
crate-type = ["staticlib"]
#[[bin]]
#name = "metaforce"
#path = "src/main.rs"
[dependencies]
cxx = "1.0.60"
web-sys = "0.3.55"
env_logger = "0.9.0"
mobile-entry-point = "0.1.1"
pollster = "0.2.4"
binread = { version = "2.2.0", features = ['const_generics'] }
modular-bitfield = "0.11.2"
num-traits = "0.2.14"
num_enum = "0.5.5"
bytemuck = "1.7.3"
bytemuck_derive = "1.0.1"
log = "0.4.14"
log-panics = "2.0.0"
cgmath = "0.18.0"
smallvec = "1.7.0"
scopeguard = "1.1.0"
twox-hash = "1.6.2"
winit = "0.26.0"
[dependencies.imgui]
git = "https://github.com/imgui-rs/imgui-rs"
rev = "55a76370466953d5c044afc123330d0262b50e17"
[dependencies.imgui-winit-support]
git = "https://github.com/imgui-rs/imgui-rs"
rev = "55a76370466953d5c044afc123330d0262b50e17"
default-features = false
features = ["winit-26"]
[patch.'https://github.com/imgui-rs/imgui-rs']
imgui-sys = { path = "../imgui-sys" }
[patch.crates-io]
imgui-sys = { path = "../imgui-sys" }
[dependencies.wgpu]
#path = "../../wgpu/wgpu"
git = "https://github.com/gfx-rs/wgpu"
rev = "39b7a8a202c21da43035ec8dd5570a58cf4e8ef1"
features = ["spirv"]
#[patch.'https://github.com/gfx-rs/naga']
#naga = { path = "../../naga" }
[build-dependencies]
#naga = { path = "../../naga", features = ['spv-out', 'wgsl-in'] }
naga = { git = "https://github.com/gfx-rs/naga", rev = "8df5421", features = ['spv-out', 'wgsl-in'] }
bytemuck = "1.7.3"
cxx-build = "1.0.60"
bindgen = "0.59.2"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.10.1"
ndk-glue = "0.5.0"
[target.'cfg(not(target_os = "android"))'.dependencies]
wgpu-subscriber = "0.1.0"
[target.'cfg(target_family = "wasm")'.dependencies]
console_error_panic_hook = "0.1.7"
console_log = "0.2.0"
wasm-bindgen-futures = "0.4.28"
#features = ["web-sys"]