cgpu 0.1.0

A tunable GPU compute executor with automatic CPU fallback, byte-based batching, and inline shader generation.
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 = "cgpu"
version = "0.1.0"
build = false
include = [
    "Cargo.toml",
    "Readme.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "src/**",
    "tests/**",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tunable GPU compute executor with automatic CPU fallback, byte-based batching, and inline shader generation."
homepage = "https://github.com/Radiiplus/cgpu"
documentation = "https://docs.rs/cgpu"
readme = "Readme.md"
keywords = [
    "gpu",
    "compute",
    "wgpu",
    "fallback",
    "batching",
]
categories = [
    "concurrency",
    "hardware-support",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Radiiplus/cgpu"
resolver = "3"

[features]
async = ["dep:tokio"]
default = [
    "gpu",
    "telemetry",
    "shader",
]
dx12 = ["wgpu?/dx12"]
gpu = [
    "dep:wgpu",
    "dep:pollster",
    "dep:windows",
]
metal = ["wgpu?/metal"]
shader = ["shader-gen"]
shader-gen = []
telemetry = []
vulkan = ["wgpu?/vulkan"]
webgl = ["wgpu?/webgl"]

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

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

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

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

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

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true
default-features = false

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

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Graphics_Dxgi",
    "Win32_Foundation",
]
optional = true