Add Store support and unsigned app releases
This commit is contained in:
30
crates/sf-ui/Cargo.toml
Normal file
30
crates/sf-ui/Cargo.toml
Normal file
@@ -0,0 +1,30 @@
|
||||
[package]
|
||||
name = "sf-ui"
|
||||
description = "SmartFox TV UI kit: Liquid Glass for Slint apps, TV components, artwork loading, video playback"
|
||||
version.workspace = true
|
||||
edition.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 }
|
||||
Reference in New Issue
Block a user