[package]
edition = "2021"
rust-version = "1.85"
name = "wgpu-cuda-interop"
version = "0.9.0"
authors = [
"Radu Alexandru Rosu <alex@meshcapade.com>",
"Aman Shenoy <aman@meshcapade.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for vulkan and cuda interop of memory"
documentation = "https://docs.rs/wgpu-cuda-interop"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Meshcapade/gloss"
[features]
cuda = [
"libloading",
"lazy_static",
"cust",
"cuda_std",
"cust_raw",
"wgpu/vulkan",
]
default = []
[lib]
name = "wgpu_cuda_interop"
path = "src/lib.rs"
[dependencies.ash]
version = "0.38"
[dependencies.cuda_std]
version = "0.2.2"
optional = true
[dependencies.cust]
version = "0.3.2"
optional = true
[dependencies.cust_raw]
version = "0.11.3"
optional = true
[dependencies.lazy_static]
version = "1.4.0"
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.libloading]
version = "0.8"
optional = true
[dependencies.log]
version = "0.4"
features = ["std"]
[dependencies.wgpu]
version = "25.0"
features = [
"wgsl",
"spirv",
"webgl",
"metal",
"webgpu",
]
default-features = false
[dependencies.wgpu-hal]
version = "25.0"
default-features = false
[lints.clippy]
explicit_iter_loop = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
unused_self = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1