[package]
name = "lactea-render"
description = "wgpu backend reproducing the MilkDrop 2 frame pipeline; host-provided device, renders into any texture."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
readme = "README.md"
keywords = ["milkdrop", "projectm", "wgpu", "visualizer", "renderer"]
categories = ["graphics", "rendering", "multimedia"]
include = ["src/**", "Cargo.toml", "README.md", "LICENSE-*"]
[features]
diagnostics = []
gles = ["wgpu/gles"]
[dependencies]
lactea-abi = { workspace = true }
wgpu = { workspace = true }
bytemuck = { workspace = true }
[target.'cfg(any(windows, all(unix, not(target_vendor = "apple"))))'.dependencies]
wgpu = { workspace = true, features = ["vulkan"] }
[target.'cfg(windows)'.dependencies]
wgpu = { workspace = true, features = ["dx12"] }
[target.'cfg(target_vendor = "apple")'.dependencies]
wgpu = { workspace = true, features = ["metal"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { workspace = true, features = ["webgpu"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = { workspace = true }
[dev-dependencies]
image = { workspace = true }
lactea-render = { path = ".", features = ["diagnostics"] }
lactea-testutil = { workspace = true }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]