# 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 = "prgpu"
version = "0.1.4"
build = "build.rs"
include = [
    "src/**",
    "shaders/**",
    "vekl/**/*.slang",
    "vekl/LICENSE",
    "vekl/README.md",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU-accelerated rendering utilities for Adobe Premiere Pro and After Effects plugins"
homepage = "https://github.com/Exaecut/prgpu"
documentation = "https://docs.rs/prgpu"
readme = "README.md"
keywords = [
    "gpu",
    "video",
    "after-effects",
    "premiere",
    "rendering",
]
categories = [
    "graphics",
    "multimedia::video",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Exaecut/prgpu"

[features]
bench = ["dep:criterion"]
build = [
    "dep:cc",
    "dep:serde",
    "dep:serde_json",
    "dep:ureq",
    "dep:tar",
    "dep:flate2",
]
cargo-clippy = []
default = ["cargo-clippy"]
shader_hotreload = ["cudarc/nvrtc"]
timing = []

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

[dependencies.bytemuck]
version = "1.23.1"
features = [
    "derive",
    "min_const_generics",
]

[dependencies.cc]
version = "1"
optional = true

[dependencies.criterion]
version = "0.8.2"
features = [
    "cargo_bench_support",
    "html_reports",
]
optional = true
default-features = false

[dependencies.exaecut-after-effects]
version = "0.5"

[dependencies.exaecut-premiere]
version = "0.5"

[dependencies.flate2]
version = "1"
optional = true

[dependencies.log]
version = "0.4"
features = [
    "release_max_level_trace",
    "max_level_trace",
]

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.paste]
version = "1.0.15"

[dependencies.prgpu-macro]
version = "0.1.0"

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

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

[dependencies.ureq]
version = "3"
optional = true

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

[build-dependencies.cc]
version = "1"

[build-dependencies.flate2]
version = "1"

[build-dependencies.serde]
version = "1"
features = ["derive"]

[build-dependencies.serde_json]
version = "1"

[build-dependencies.tar]
version = "0.4"

[build-dependencies.ureq]
version = "3"

[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2.7"

[target.'cfg(target_os = "windows")'.dependencies.cudarc]
version = "0.19.3"
features = [
    "std",
    "driver",
    "fallback-dynamic-loading",
    "cuda-13010",
]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.opencl3]
version = "0.12.1"

[target.'cfg(target_os = "windows")'.build-dependencies.cudarc]
version = "0.19.3"
features = [
    "std",
    "driver",
    "nvrtc",
    "fallback-dynamic-loading",
    "cuda-13010",
]
default-features = false

[target.'cfg(target_os = "windows")'.build-dependencies.opencl3]
version = "0.12.1"

[target.'cfg(target_os = "windows")'.dev-dependencies.cudarc]
version = "0.19.3"
features = [
    "std",
    "driver",
    "fallback-dynamic-loading",
    "cuda-13010",
]
default-features = false

[target.'cfg(target_os = "windows")'.dev-dependencies.opencl3]
version = "0.12.1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(shader_hotreload)",
    "cfg(does_dialog)",
    "cfg(with_premiere)",
    "cfg(threaded_rendering)",
]
