The engine of main runs on voelin_proto::link::Session; this branch had split
the Slint controllers into <area>/logic.rs (voelin-ui-vm) and <area>/bind.rs
(voelin-ui) before that merge and was never reviewed. One conflict, the one
the Opus gate of the seam merge predicted:
- crates/voelin-ui/src/servers.rs (modify/delete): this branch had split the
file into servers/bind.rs and voelin-ui-vm's servers/logic.rs; main had
changed the file for the seam (docs/session-seam.md 17.3). The file stays
deleted and the changes of main are made where the code now is:
servers/bind.rs sends ts::identity::to_blob(&identity) in ConnectVoice and in
both ObserveGateway sends, builds voelin_core::QueryLogin {address,
allowlisted: false} with voelin_core::QueryTransport for ObserveQuery, names
ts::identity::DEFAULT_NICKNAME, and its tests import ts::identity::{Found,
LaunchImport}; servers/logic.rs imports ts::identity::LaunchImport (and
links ts::identity::import_new), and voice_options keeps the eager
ts::versions::resolve for the message and assigns Some(spec.clone()) to
VoiceOptions::client_version (the engine resolves the spec when it
connects).
Cargo.lock merged without a conflict and differs from main's only by the edge
of voelin-ui-vm to roxmltree, which this branch added (d9de95b).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
42 lines
1.7 KiB
TOML
42 lines
1.7 KiB
TOML
[package]
|
|
name = "voelin-ui-vm"
|
|
version = "0.0.1-alpha"
|
|
description = "Toolkit-free view models of the desktop client: engine state turned into plain rows, shared by the Slint and GPUI front ends."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
name = "voelin_ui_vm"
|
|
path = "src/lib.rs"
|
|
|
|
# No UI toolkit here (no slint, no gpui): `cargo tree -p voelin-ui-vm -e normal`
|
|
# must show neither. The front ends convert these types (docs/ui.md).
|
|
[dependencies]
|
|
chrono = { version = "0.4.45", default-features = false, features = ["clock"] }
|
|
# Whether a picture file decodes, and its size; PNG and JPEG are listed as
|
|
# the front end's toolkit used to bring them.
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "bmp", "ico"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
# JSON values of the settings and the gateway's configuration keys.
|
|
serde_json = "1"
|
|
# Whether an SVG document is XML with an svg root (the vector renderers read
|
|
# it with this parser too).
|
|
roxmltree = { version = "0.21", default-features = false, features = ["std"] }
|
|
# The Twemoji archive's blocks (raw deflate).
|
|
miniz_oxide = "0.8"
|
|
# Grapheme clusters for emoji in chat text.
|
|
unicode-segmentation = "1.13"
|
|
# The sample pictures of the demo data (VOELIN_DEMO_UI) and the tests.
|
|
png = "0.18"
|
|
voelin-audio = { path = "../voelin-audio", default-features = false }
|
|
voelin-core = { path = "../voelin-core", default-features = false, features = ["media"] }
|
|
voelin-gateway-proto = { path = "../voelin-gateway-proto" }
|
|
voelin-model = { workspace = true }
|
|
voelin-store = { path = "../voelin-store" }
|
|
|
|
[lints]
|
|
workspace = true
|