📄 capture/Cargo.toml
[package]
name = "capture"
description = "Live capture from the 3-camera rig: Kinect v2 RGB + depth, two webcams, frame sync"
version.workspace = true
edition.workspace = true
publish = false

[dependencies]
anyhow.workspace = true
glam.workspace = true
log.workspace = true
rig.workspace = true
tokio.workspace = true

# The device stack is Linux-only: kinect-one's USB isochronous support
# (via its forked nusb) is implemented for Linux only, and nokhwa's
# native backend vendors C (mozjpeg) that would drag a Windows C
# toolchain into every build. Off Linux, `KinectRigSource::open` fails
# with a clear message and the rest of the workspace (the viewer,
# replay, recordings) builds unaffected — the plan's "replay mode
# first" story.
[target.'cfg(target_os = "linux")'.dependencies]
kinect-one.workspace = true
nokhwa.workspace = true