wgpu-renderer/Cargo.toml

50 lines
1.1 KiB
TOML
Raw Permalink 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-11-04 02:40:00 +02:00
winit = { version = "0.29.3", features = ["rwh_05"] }
2023-01-23 17:15:02 +02:00
env_logger = "0.10.0"
log = "0.4.17"
2023-11-04 02:40:00 +02:00
wgpu = "0.18.0"
pollster = "0.3.0"
bytemuck = { version = "1.14.0", features = ["derive"] }
image = { version = "0.24.7", features = ["png", "tga"] }
anyhow = "1.0.75"
2022-10-02 18:59:20 +03:00
cgmath = "0.18"
2023-11-04 02:40:00 +02:00
tobj = { version = "4.0.0", features = ["async"] }
gltf = "1.3.0"
wgpu-types = "0.18.0"
regex = "1.10.2"
rust-embed = { version = "8.0.0", features = ["debug-embed"] }
cfg-if = "1.0.0"
instant = { version = "0.1.12", features = ["wasm-bindgen"] }
2023-01-27 23:16:57 +02:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
2023-11-04 02:40:00 +02:00
console_log = "1.0.0"
wgpu = { version = "0.18.0", features = ["webgl"] }
2023-01-27 23:16:57 +02:00
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4.30"
web-sys = { version = "0.3", features = [
"Document",
"Window",
"Element",
2023-11-04 02:40:00 +02:00
] }
2022-10-02 22:03:50 +03:00
[build-dependencies]
2023-11-04 02:40:00 +02:00
anyhow = "1.0.75"
fs_extra = "1.3.0"
2023-01-23 17:15:02 +02:00
glob = "0.3.1"