vtsampler 0.1.1

Cross-platform GPU video format conversion and scaling (wgpu compute)
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 = "2024"
name = "vtsampler"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform GPU video format conversion and scaling (wgpu compute)"
homepage = "https://github.com/mycrl/VTSampler"
documentation = "https://docs.rs/vtsampler"
readme = "README.md"
keywords = [
    "video",
    "wgpu",
    "gpu",
    "yuv",
    "nv12",
]
categories = [
    "graphics",
    "multimedia::video",
]
license = "MIT"
repository = "https://github.com/mycrl/VTSampler"

[package.metadata.docs.rs]
all-features = false
default-target = "x86_64-pc-windows-msvc"
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[example]]
name = "simple"
path = "examples/simple.rs"

[dependencies.minijinja]
version = "2.8.0"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.wgpu]
version = "23"

[dev-dependencies.anyhow]
version = "1.0.98"

[dev-dependencies.bytemuck]
version = "1.17"
features = ["derive"]

[dev-dependencies.pollster]
version = "0.4"

[dev-dependencies.winit]
version = "0.30.11"

[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.29"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-video]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
version = "0.3"

[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D11",
    "Win32_Graphics_Direct3D12",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
]