Files
VoelinClient/Cargo.toml
faumarayandClaude Sonnet 5.5 e13d401b9c Merge main (ad20979) into phase4/session-seam
Main brings the merge of phase5/ui-vm: the toolkit-free crates/voelin-ui-vm
crate and the logic/bind split of crates/voelin-ui. Conflicts, and what each
resolution keeps:

- crates/voelin-ui/src/settings_pages.rs: main deleted it (it is
  settings_pages/{mod,bind}.rs and voelin-ui-vm's settings_pages/logic.rs
  now), this branch had changed its voelin_core::identity paths. Deleted; the
  paths are voelin_core::ts::identity:: in bind.rs and in logic.rs.
- crates/voelin-ui/src/identities.rs: the module comment names
  voelin_core::ts::identity::import_new (this branch) and settings_pages/
  (main).
- docs/architecture.md: the voelin-core row of this branch with the
  voelin-ui-vm and voelin-ui rows of main.

Not conflicts, but needed to compile: voelin-ui-vm named the in-tree
voelin-model by path, which this branch moved to the protocol repository
(workspace dependency), and imported voelin_core::identity::Found, which is
voelin_core::ts::identity::Found. Cargo.lock merged without a conflict and
resolves with --locked; THIRD_PARTY_NOTICES.md is up to date
(scripts/notices.sh --check).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 10:32:05 +03:00

164 lines
5.3 KiB
TOML

[workspace]
resolver = "3"
# third_party: vendored crates patched in below (not workspace members, so
# their own tests and dev-dependencies stay out of our builds).
exclude = ["fuzz", "third_party"]
members = [
"crates/proto/tsproto-types",
"crates/proto/tsproto-structs",
"crates/proto/tsproto-packets",
"crates/proto/tsproto",
"crates/proto/ts-bookkeeping",
"crates/proto/tsclientlib",
"crates/voelin-android",
"crates/voelin-audio",
"crates/voelin-core",
"crates/voelin-gateway",
"crates/voelin-gateway-proto",
"crates/voelin-media",
"crates/voelin-observer",
"crates/voelin-platform",
"crates/voelin-query",
"crates/voelin-store",
"crates/voelin-stream",
"crates/voelin-ui",
"crates/voelin-ui-vm",
"tools/voelinctl",
]
default-members = [
"crates/proto/tsproto-types",
"crates/proto/tsproto-structs",
"crates/proto/tsproto-packets",
"crates/proto/tsproto",
"crates/proto/ts-bookkeeping",
"crates/proto/tsclientlib",
"crates/voelin-audio",
"crates/voelin-core",
"crates/voelin-gateway",
"crates/voelin-gateway-proto",
"crates/voelin-observer",
"crates/voelin-platform",
"crates/voelin-query",
"crates/voelin-store",
"crates/voelin-stream",
"crates/voelin-ui",
"crates/voelin-ui-vm",
"tools/voelinctl",
]
[workspace.package]
edition = "2024"
rust-version = "1.94"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Faumaray/Voelin"
publish = false
[workspace.dependencies]
# The protocol repository is private (VoelinProtocol). This is the SSH URL its
# docs/development.md names, so that a per-developer .cargo/config.toml [patch]
# can point it at a sibling checkout (docs/building.md, "Working with a sibling
# VoelinProtocol checkout"). Pinned by commit until the protocol tags a release:
# the three crates below are at one revision (main c8e0e5a: the account-bound
# KeyStore of Phase 2 task 28, the account types of the session seam).
voelin-identity = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c8e0e5a17c1ff5dfaefa087f49b395d2918af650" }
# The backend-neutral session seam (`voelin_proto::link`) and the v1 messages.
voelin-proto = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c8e0e5a17c1ff5dfaefa087f49b395d2918af650" }
# The UI-facing domain model and the client's replica of v1 entities.
voelin-model = { git = "ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git", rev = "c8e0e5a17c1ff5dfaefa087f49b395d2918af650" }
[workspace.lints.rust]
# deny, not forbid: generated code (Slint) needs a local allow.
unsafe_code = "deny"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
[profile.dev.package.num-bigint]
# The Init1 puzzle does a large modular exponentiation on connect; unoptimized
# it takes seconds.
opt-level = 3
# Audio processing (echo cancellation, noise suppression) runs in real time on
# every 10 ms of microphone audio; unoptimized it needs about a third of a core.
[profile.dev.package.sonora]
opt-level = 3
[profile.dev.package.sonora-aec3]
opt-level = 3
[profile.dev.package.sonora-agc2]
opt-level = 3
[profile.dev.package.sonora-common-audio]
opt-level = 3
[profile.dev.package.sonora-fft]
opt-level = 3
[profile.dev.package.sonora-ns]
opt-level = 3
[profile.dev.package.sonora-simd]
opt-level = 3
# Screen sharing runs pixel conversion, codecs and RTP for every frame;
# unoptimized, a debug build manages a few frames per second at 1080p.
# (libvpx, dav1d and libopus are system / release-built C libraries.)
[profile.dev.package.yuv]
opt-level = 3
[profile.dev.package.voelin-media]
opt-level = 3
[profile.dev.package.str0m]
opt-level = 3
[profile.dev.package.str0m-proto]
opt-level = 3
[profile.dev.package.str0m-aws-lc-rs]
opt-level = 3
[profile.dev.package.openh264]
opt-level = 3
[profile.dev.package.dav1d]
opt-level = 3
[profile.dev.package.opus2]
opt-level = 3
[profile.dev.package.pipewire]
opt-level = 3
[profile.dev.package.libspa]
opt-level = 3
[profile.dev.package.x11rb-protocol]
opt-level = 3
# The studio's person segmentation (tract): unoptimized, one mask takes
# about half a second.
[profile.dev.package.tract-core]
opt-level = 3
[profile.dev.package.tract-linalg]
opt-level = 3
[profile.dev.package.tract-data]
opt-level = 3
[profile.dev.package.ndarray]
opt-level = 3
[profile.dev.package.wayland-backend]
opt-level = 3
[profile.dev.package.wayland-client]
opt-level = 3
# MJPEG cameras: unoptimized, a 1440p picture takes most of a second.
[profile.dev.package.zune-jpeg]
opt-level = 3
[profile.dev]
# Line tables (for backtraces) for workspace crates, no debug info for
# dependencies: keeps target/ several times smaller. Override locally for
# debugging with CARGO_PROFILE_DEV_DEBUG=true.
debug = "line-tables-only"
[profile.dev.package."*"]
debug = false
# dimpl (DTLS for str0m) with a configurable SRTP profile order; see
# third_party/dimpl/VOELIN-PATCH.md.
[patch.crates-io]
dimpl = { path = "third_party/dimpl" }
[profile.release]
# Thin LTO keeps cross-crate optimisation without materialising the entire
# app in one LLVM module. Split codegen keeps the generated Slint UI within
# the memory budget of CI and release builders. Panics still
# unwind (no `panic = "abort"`): a panic in one tokio task or media thread
# must not end the app (tasks and threads report it, mutexes recover from
# poisoning), and the crash reporter's hook runs either way.
lto = "thin"
codegen-units = 16