[package]
edition = "2024"
rust-version = "1.85"
name = "oxicuda-webgpu"
version = "0.1.4"
authors = ["COOLJAPAN OU <contact@cooljapan.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OxiCUDA WebGPU - Cross-platform GPU compute via wgpu and WGSL"
readme = "README.md"
keywords = [
"webgpu",
"wgpu",
"gpu",
"compute",
"wgsl",
]
categories = [
"hardware-support",
"science",
"mathematics",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxicuda"
resolver = "2"
[features]
default = []
wasm = [
"dep:wasm-bindgen",
"dep:js-sys",
]
[lib]
name = "oxicuda_webgpu"
path = "src/lib.rs"
[dependencies.js-sys]
version = "0.3.95"
optional = true
[dependencies.oxicuda-backend]
version = "0.1.4"
[dependencies.pollster]
version = "0.4.0"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.wasm-bindgen]
version = "0.2.118"
optional = true
[dependencies.wgpu]
version = "29.0.1"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_transmute_annotations = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
dead_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_imports = "warn"
unused_variables = "warn"