mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 00:47:00 +01:00
fc-match reports a variable font's named instance in the high 16 bits of
%{index}. Fedora's variable Noto Sans CJK answered 262144, egui read that
as a face index, and panicked on the font it could not parse. Keep only
the face, and parse the fallback with skrifa first so a font egui cannot
read is left out instead.
Fixes #1
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "pstr-app"
|
|
description = "The proton-stream desktop application."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
|
|
[[bin]]
|
|
name = "proton-stream"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
pstr-core.workspace = true
|
|
pstr-meta.workspace = true
|
|
pstr-stream.workspace = true
|
|
pstr-player.workspace = true
|
|
tokio.workspace = true
|
|
futures.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
eframe.workspace = true
|
|
egui.workspace = true
|
|
egui-phosphor.workspace = true
|
|
# The parser egui reads fonts with, to check a system font before handing it over.
|
|
skrifa.workspace = true
|
|
image.workspace = true
|
|
sha2.workspace = true
|
|
parking_lot.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
directories.workspace = true
|
|
chrono.workspace = true
|
|
souvlaki.workspace = true
|
|
wry.workspace = true
|
|
tao.workspace = true
|
|
|
|
[build-dependencies]
|
|
embed-resource.workspace = true
|
|
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
dbus.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# Named pipes, for handing a second launch's request to the open window.
|
|
tokio = { workspace = true, features = ["net"] }
|
|
windows-sys = { workspace = true, features = ["Win32_System_Power", "Win32_System_Registry"] }
|
|
tauri-winrt-notification.workspace = true
|
|
raw-window-handle = "0.6"
|