[package]
edition = "2024"
rust-version = "1.85"
name = "ustreamer-capture"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GPU frame capture from wgpu render targets — zero-copy (Metal/NVENC) and staging buffer paths"
homepage = "https://github.com/knopkem/ultra-streamer-rs"
documentation = "https://docs.rs/ustreamer-capture"
readme = "README.md"
keywords = [
"streaming",
"capture",
"graphics",
"wgpu",
"gpu",
]
categories = [
"multimedia",
"graphics",
"hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/knopkem/ultra-streamer-rs"
resolver = "2"
[features]
default = []
vulkan-external = ["dep:ash"]
vulkan-external-test-utils = ["vulkan-external"]
[lib]
name = "ustreamer_capture"
path = "src/lib.rs"
[dependencies.ash]
version = "0.38.0"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.wgpu]
version = "27.0"
[target.'cfg(target_os = "macos")'.dependencies.metal]
version = "0.32.0"
[target.'cfg(target_os = "macos")'.dependencies.objc]
version = "0.2.7"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-video]
version = "0.3.2"
features = ["objc2-io-surface"]
[target.'cfg(target_os = "macos")'.dependencies.objc2-io-surface]
version = "0.3.2"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cargo-clippy", "vulkan-external", "vulkan-external-test-utils"))']