optirs-gpu 0.3.1

OptiRS GPU acceleration and multi-GPU optimization
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 = "2021"
name = "optirs-gpu"
version = "0.3.1"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OptiRS GPU acceleration and multi-GPU optimization"
readme = "README.md"
keywords = [
    "gpu",
    "cuda",
    "metal",
    "opencl",
    "optimization",
]
categories = [
    "science",
    "algorithms",
    "hardware-support",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/optirs"

[package.metadata.docs.rs]
features = ["wgpu"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cuda = ["cudarc"]
default = ["wgpu"]
opencl = ["opencl3"]
wgpu = [
    "dep:wgpu",
    "pollster",
]

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

[dependencies.cudarc]
version = "0.19"
features = ["cuda-12000"]
optional = true

[dependencies.futures]
version = "0.3.32"

[dependencies.log]
version = "0.4"

[dependencies.opencl3]
version = "0.12"
optional = true

[dependencies.optirs-core]
version = "0.3.1"

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.scirs2-core]
version = "0.4.0"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.50.0"
features = [
    "full",
    "rt",
]

[dependencies.wgpu]
version = "29.0"
optional = true

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.tokio-test]
version = "0.4.5"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.33.0"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-metal-performance-shaders]
version = "0.3.2"
optional = true

[lints.rust]
dead_code = "allow"
mismatched_lifetime_syntaxes = "allow"
unknown_lints = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_imports = "allow"
unused_variables = "allow"