wgpu-renderer/Cargo.toml

50 lines
1 KiB
TOML
Raw Normal View History

2022-10-01 23:58:09 +03:00
[package]
2023-01-27 21:48:46 +02:00
name = "wgpu-renderer"
2022-10-01 23:58:09 +03:00
version = "0.1.0"
edition = "2021"
2023-01-27 23:16:57 +02:00
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "wgpu-renderer"
path = "src/main.rs"
2022-10-01 23:58:09 +03:00
2023-01-28 14:02:40 +02:00
[profile.dev]
opt-level = 1 # loading gltf is super slow without this
2022-10-01 23:58:09 +03:00
[dependencies]
2023-04-13 16:55:49 +03:00
winit = "0.28.3"
2023-01-23 17:15:02 +02:00
env_logger = "0.10.0"
log = "0.4.17"
wgpu = "0.14.2"
pollster = "0.2.5"
bytemuck = { version = "1.13.0", features = ["derive"] }
image = { version = "0.24.5", features = ["png", "tga"] }
anyhow = "1.0.68"
2022-10-02 18:59:20 +03:00
cgmath = "0.18"
2023-01-23 17:15:02 +02:00
tobj = { version = "3.2.1", features = ["async"] }
gltf = "1.0.0"
2023-01-23 17:15:02 +02:00
wgpu-types = "0.14.1"
regex = "1.7.1"
2023-01-28 14:02:40 +02:00
rust-embed = { version = "6.4.2", features = ["debug-embed"]}
2023-01-27 23:16:57 +02:00
cfg-if = "1"
2023-01-28 12:23:43 +02:00
instant = "0.1.12"
2023-01-27 23:16:57 +02:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "0.2.0"
wgpu = { version = "0.14", features = ["webgl"]}
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
]}
2022-10-02 22:03:50 +03:00
[build-dependencies]
2023-01-23 17:15:02 +02:00
anyhow = "1.0.68"
fs_extra = "1.2.0"
glob = "0.3.1"