wgpu-native-texture-interop 0.2.0

Native texture interop helpers for importing offscreen producer frames into host-owned wgpu textures
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 = "wgpu-native-texture-interop"
version = "0.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native texture interop helpers for importing offscreen producer frames into host-owned wgpu textures"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/mark-ik/wgpu-graft"

[features]
default = ["surfman"]
surfman = [
    "dep:euclid",
    "dep:gleam",
    "dep:image",
    "dep:surfman",
]

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

[dependencies.dpi]
version = "0.1.2"

[dependencies.euclid]
version = "0.22.11"
optional = true

[dependencies.gleam]
version = "0.15.1"
optional = true

[dependencies.glow]
version = "0.16.0"

[dependencies.image]
version = "0.25"
optional = true

[dependencies.surfman]
version = "0.11.0"
features = [
    "chains",
    "sm-angle-default",
]
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dependencies.wgpu]
version = "29.0.1"
features = ["metal"]

[dependencies.wgpu-hal]
version = "29.0.1"

[build-dependencies.gl_generator]
version = "0.14.0"

[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))'.dependencies.ash]
version = "0.38.0"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D11",
    "Win32_Graphics_Direct3D12",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Security",
    "Win32_System_LibraryLoader",
]

[target.'cfg(target_os = "windows")'.dependencies.wio]
version = "0.2"

[target.'cfg(target_vendor = "apple")'.dependencies.foreign-types-shared]
version = "0.3.1"

[target.'cfg(target_vendor = "apple")'.dependencies.metal]
version = "0.33.0"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6.3"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
version = "0.3.2"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-io-surface]
version = "0.3.2"

[target.'cfg(target_vendor = "apple")'.dependencies.objc2-metal]
version = "0.3.2"
features = [
    "MTLDevice",
    "MTLAllocation",
    "MTLResource",
    "MTLTexture",
    "MTLEvent",
    "objc2-io-surface",
]