ruda-driver-wgpu 0.1.21

WGPU driver backend for Ruda
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 = "ruda-driver-wgpu"
version = "0.1.21"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WGPU driver backend for Ruda"
readme = "README.md"
keywords = [
    "gpu",
    "wgpu",
    "webgpu",
    "gpgpu",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shuqi2077/RUDA/tree/main/ruda-driver-wgpu"

[features]
default = [
    "ruda/runtime-default",
    "ruda-core/std",
    "ruda-kernel/frontend-default",
]
exclusive-memory-only = ["ruda/runtime-exclusive-memory-only"]
msl = [
    "ruda-compiler/cpp-default",
    "ruda-compiler/cpp-metal",
    "ruda-kernel/lowering-metal",
    "ruda/runtime-default",
    "ruda-kernel/frontend-default",
]
profile-tracy = ["tracy-client"]
spirv = [
    "ruda-compiler/spirv",
    "ruda-kernel/lowering-spirv",
    "ash",
    "tracel-ash",
    "ruda-core/compilation-cache",
    "ruda-core/hash",
]
spirv-dump = ["std"]
std = [
    "ruda/runtime-std",
    "ruda-core/std",
    "ruda-kernel/frontend-std",
    "sanitize-filename",
]
tracing = [
    "dep:tracing",
    "ruda/runtime-tracing",
    "ruda-core/tracing",
    "ruda-kernel/frontend-tracing",
]
vulkan-validate = []

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

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

[dependencies.async-channel]
version = "2.3"

[dependencies.bytemuck]
version = "1.16.1"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.derive-new]
version = "0.7.0"
default-features = false

[dependencies.derive_more]
version = "2"
default-features = false

[dependencies.half]
version = "2.5"
features = [
    "alloc",
    "num-traits",
    "serde",
]
default-features = false

[dependencies.hashbrown]
version = "0.16"

[dependencies.log]
version = "^0.4.22"
default-features = false

[dependencies.ruda]
version = "0.1.1"
features = [
    "runtime",
    "runtime-channel-mutex",
]
default-features = false
package = "ruda-runtime"

[dependencies.ruda-compiler]
version = "0.1.5"
features = ["wgsl"]
default-features = false

[dependencies.ruda-core]
version = "0.1.4"
features = ["ir"]
default-features = false

[dependencies.ruda-kernel]
version = "0.1.7"
features = [
    "frontend",
    "lowering-wgsl",
]
default-features = false

[dependencies.sanitize-filename]
version = "0.6"
optional = true

[dependencies.tracel-ash]
version = "0.39"
optional = true

[dependencies.tracing]
version = "^0.1.43"
features = ["attributes"]
optional = true
default-features = false

[dependencies.tracy-client]
version = "0.18.0"
optional = true

[dev-dependencies.half]
version = "2.5"
features = [
    "alloc",
    "num-traits",
    "serde",
]
default-features = false

[dev-dependencies.paste]
version = "1"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.test-log]
version = "^0.2"
features = ["trace"]
default-features = false

[build-dependencies.cfg_aliases]
version = "0.2.1"

[target.'cfg(not(target_os = "macos"))'.dependencies.wgpu]
version = "29"
features = ["fragile-send-sync-non-atomic-wasm"]

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.45"

[target.'cfg(target_os = "macos")'.dependencies.wgpu]
version = "29"
features = [
    "vulkan-portability",
    "fragile-send-sync-non-atomic-wasm",
]

[lints.clippy]
doc_markdown = "warn"

[lints.rust]
warnings = "warn"

[lints.rustdoc]
broken_intra_doc_links = "warn"
invalid_html_tags = "warn"