[package] name = "oak_bridge" version = "0.1.0" edition.workspace = true authors = ["Oak "] description = "macOS video-frame bridge: wgpu Metal textures to IOSurface-backed CVPixelBuffers for gpui's Surface element" publish = true license = "Apache-2.0" [lints] workspace = true [dependencies] anyhow.workspace = true [target.'cfg(target_os = "macos")'.dependencies] core-foundation.workspace = true core-video.workspace = true gpui_media = { path = "../gpui_media" } metal.workspace = true wgpu.workspace = true [target.'cfg(target_os = "macos")'.dev-dependencies] gpui = { workspace = true } gpui_platform = { workspace = true, features = ["font-kit"] } metal.workspace = true pollster.workspace = true wgpu.workspace = true [[example]] name = "surface_bridge" path = "examples/surface_bridge.rs" required-features = ["demo"] [features] # The FPS demo example needs a windowing backend; it is opt-in. demo = []