[package] name = "cam-client" version = "0.1.0" edition = "2021" [build-dependencies] # Compiles ui/camera.slint into Rust before the crate itself builds. Kept separate # from [dependencies] because it only runs on the build host, never on the target. slint-build = "1" [dependencies] # Shared wire format with the firmware. Kept as a path dependency rather than # copied, so the two sides cannot drift apart silently. protocol = { path = "../protocol" } # Slint for the UI. The default renderer on macOS is femtovg, which needs no # extra system libraries; `backend-winit` provides the window integration. slint = "1" # JPEG decoding for display. Slint's Image can take raw RGBA, so the JPEG has to # be decoded somewhere - `image` does that, and nothing on this side re-encodes. image = { version = "0.25", default-features = false, features = ["jpeg"] } anyhow = "1" log = "0.4" env_logger = "0.11" [profile.release] opt-level = 2