mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-30 10:03:56 +01:00
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[package]
|
|
name = "texturecraft-render"
|
|
description = "TextureCraft wgpu viewport renderer: PBR, image-based lighting, debug views, UV view"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
texturecraft-core = { workspace = true }
|
|
texturecraft-texel = { workspace = true }
|
|
texturecraft-geom = { workspace = true }
|
|
texturecraft-compose = { workspace = true }
|
|
wgpu = { workspace = true }
|
|
bytemuck = { workspace = true }
|
|
half = { workspace = true }
|
|
log = { workspace = true }
|
|
rayon = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
texturecraft-bake = { workspace = true }
|
|
pollster = "0.4"
|
|
|
|
# The browser's WebGPU resolves error scopes later: their results are awaited on the page.
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
[dev-dependencies]
|
|
image = { workspace = true }
|
|
texturecraft-formats = { workspace = true }
|
|
|
|
# The noop backend stands in for an adapter without compute shaders in the headless tests.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
|
wgpu = { workspace = true, features = ["noop"] }
|