Files
mail/platform/ohos/Cargo.toml
T
springmin 197eb1e0f0 build: drop the vendored fontique patch
fontique 0.11.1 already supports fontconfig-dlopen, which leaves an empty system collection when Fontconfig is absent. OHOS registers /system/fonts explicitly, so the local fontique copy, patch queue and quality verification are no longer needed; use the crates.io package and keep the lockfile pinned.
2026-10-28 19:17:59 +08:00

39 lines
1.8 KiB
TOML

# OpenHarmony platform workspace.
#
# This mirrors the layout of `platform/android`: a separate cargo workspace that
# builds the OHOS shell artifacts (a cdylib loaded by the ArkTS hap) on top of
# the shared `flectar-mail` library. It is NOT part of the root workspace.
[workspace]
members = ["backend", "demo", "mail"]
resolver = "3"
[workspace.dependencies]
slint = { version = "=1.18.1", default-features = false, features = [
"std",
"renderer-software",
# Slint requires a matching forward-compatibility feature at compile time.
"compat-1-18",
# The backend registers system fonts into Slint's shared fontique
# collection (the OHOS font fallback for CJK text).
"unstable-fontique-011",
# Experimental GPU path: the femtovg renderer on wgpu 30 (EGL/GLES on
# OHOS). Attempted by default at runtime with an automatic fallback to the
# software renderer (disable the attempt with FLECTAR_OHOS_SOFTWARE=1).
"renderer-femtovg-wgpu",
"unstable-wgpu-30",
] }
# OpenHarmony is `target_os = "linux"` without Fontconfig. fontique's published
# `fontconfig-dlopen` feature tolerates the missing library and leaves the
# system backend empty; the backend registers `/system/fonts` explicitly.
#
# The blitz/parley patches mirror the root workspace: the application code
# depends on APIs from the patched copies, which the crates.io releases do not
# carry. Patches are workspace-local, so the nested workspace must repeat them.
[patch.crates-io]
blitz-dom = { path = "../../crates/blitz-dom" }
blitz-paint = { path = "../../crates/blitz-paint" }
parley = { path = "../../crates/parley" }
# Remove when Slint releases its Wayland clipboard fix; see patches/slint-winit/README.md.
i-slint-backend-winit = { path = "../../crates/i-slint-backend-winit" }