lumen-engine-gpu 0.2.2

GPU rendering infrastructure for the Lumen engine.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "lumen-engine-gpu"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU rendering infrastructure for the Lumen engine."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/lumiscia/lumen-oss"

[features]
metal = [
    "dep:objc2",
    "dep:objc2-metal",
    "dep:wgpu-hal",
    "wgpu/metal",
    "wgpu-hal/metal",
]
vulkan = [
    "dep:ash",
    "dep:wgpu-hal",
    "wgpu/vulkan",
    "wgpu-hal/vulkan",
]

[lib]
name = "lumen_engine_gpu"
path = "src/lib.rs"

[[test]]
name = "api"
path = "tests/api.rs"

[[test]]
name = "gpu"
path = "tests/gpu.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.ash]
version = "0.38.0"
optional = true

[dependencies.bytemuck]
version = "1.25.0"
features = ["derive"]

[dependencies.objc2]
version = "0.6.4"
optional = true

[dependencies.objc2-metal]
version = "0.3.2"
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.wgpu]
version = "29.0.3"
features = [
    "std",
    "webgpu",
    "webgl",
    "wgsl",
]
default-features = false

[dependencies.wgpu-hal]
version = "29.0.3"
optional = true
default-features = false

[dev-dependencies.pollster]
version = "0.4.0"

[target.'cfg(target_os = "linux")'.dependencies.wgpu]
version = "29.0.3"
features = ["vulkan"]
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.wgpu-hal]
version = "29.0.3"
features = ["vulkan"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "29.0.3"
features = ["metal"]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.wgpu-hal]
version = "29.0.3"
features = ["metal"]
default-features = false