mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
Pi OS Bookworm + Debian bookworm both ship libgtk-4 4.8.3. No code in the kiosk uses 4.12+ APIs (compute_bounds, WidgetPaintable, Picture, add_tick_callback, Fixed, set_content_fit are all <= 4.8). Swap gtk4 feature v4_12 → v4_8 and drop the bookworm-backports juggling in CI.
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "betterframe-kiosk"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "BetterFrame kiosk — multi-camera display with GTK4 + GStreamer"
|
|
license = "AGPL-3.0-only OR Commercial"
|
|
|
|
[dependencies]
|
|
# GTK4 for windowing/layout. v4_8 = Pi OS Bookworm's libgtk-4 version. We
|
|
# don't use any 4.12+ APIs; bumping the feature gate would force pulling
|
|
# from backports for no functional gain.
|
|
gtk4 = { version = "0.9", features = ["v4_8"] }
|
|
|
|
# GStreamer for RTSP decode
|
|
gstreamer = "0.23"
|
|
gstreamer-video = "0.23"
|
|
gst-plugin-gtk4 = "0.13"
|
|
|
|
# HTTP client for server API
|
|
reqwest = { version = "0.12", features = ["json", "blocking"] }
|
|
|
|
# JSON
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "fs"] }
|
|
|
|
# Misc
|
|
dirs = "6"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
hostname = "0.4"
|
|
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
|
|
futures-util = "0.3"
|
|
url = "2"
|
|
webkit6 = "0.4"
|
|
gpiod = "0.3"
|
|
|
|
# OTA firmware update: sha256 + Ed25519 signature verify
|
|
sha2 = "0.10"
|
|
ed25519-dalek = { version = "2", features = ["pem"] }
|
|
base64 = "0.22"
|
|
|
|
# Local HTTP server on kiosk (LAN GET-only layout switch + admin proxy)
|
|
axum = "0.7"
|
|
tower = "0.5"
|
|
hex = "0.4"
|
|
rand = "0.8"
|