Files
sdk/sf-ui/Cargo.toml
Tamas Csikel f00e8c6847
All checks were successful
ci / test (push) Successful in 17m21s
Fennec SDK: split from the Fennec OS repository
The app-facing parts of Fennec OS move here, so apps build without the
OS sources:
- sf-app: the app contract (manifest, permissions, store rules, sandbox,
  launch), from sf-ipc; the OS depends on it by tag.
- sf-ui (+ gallery), sf-pack, templates/rust-app, docs.

Store apps may now register for DIAL: a [dial] section implies the new
`dial` permission, which the user approves like any other.

The templates no longer mention signing: store releases are unsigned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 17:31:51 +01:00

32 lines
1.3 KiB
TOML

[package]
name = "sf-ui"
description = "Fennec OS TV UI kit: Liquid Glass for Slint apps, TV components, artwork loading, video playback"
version.workspace = true
edition.workspace = true
repository.workspace = true
# Slint is used under GPL-3.0 (its royalty-free license does not cover embedded
# devices like a TV box), so apps built on sf-ui are GPL-3.0 too.
license = "GPL-3.0-only"
# Lets the build script of an app read DEP_SF_UI_UI_DIR (the Slint library).
links = "sf_ui"
build = "build.rs"
[features]
default = ["images"]
# Artwork over HTTP(S), decoded and scaled off the UI thread (images::Images).
images = ["dep:ureq", "dep:image"]
# Video playback with GStreamer (video::Player). Linux; needs GStreamer 1.22+.
video = ["dep:gstreamer", "dep:gstreamer-app", "dep:gstreamer-video"]
[dependencies]
anyhow.workspace = true
log.workspace = true
slint = { version = "1.18", default-features = false, features = ["std", "backend-default", "renderer-femtovg", "compat-1-2", "image-default-formats"] }
glow = "0.16"
png = "0.18"
ureq = { version = "3", optional = true }
image = { version = "0.25", optional = true, default-features = false, features = ["jpeg", "png", "webp"] }
gstreamer = { version = "0.25", optional = true }
gstreamer-app = { version = "0.25", optional = true }
gstreamer-video = { version = "0.25", optional = true }