The home page lists the latest chats across servers and the profiles page raises an identity's security level, so the engine gains: - Store::recent_chats / History::recent_chats: the newest message of every chat, the most recently active first (one pass over the time index). - identity::improve_level: the hash cash search on every core, in chunks of counters, cancellable, reporting each better level reached; the key and so the unique id stay the same. - privacy.private_messages and privacy.pokes (everyone, friends, nobody): private messages and pokes of everyone else are dropped, next to what privacy.block_mode does for blocked contacts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 lines
2.3 KiB
TOML
60 lines
2.3 KiB
TOML
[package]
|
|
name = "voelin-core"
|
|
version = "0.1.0"
|
|
description = "Client engine: server sessions merging voice, gateway and query sources; the API the UI drives."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[features]
|
|
default = ["audio-device"]
|
|
# Capture and play audio through the system's devices.
|
|
audio-device = ["voelin-audio/device"]
|
|
# The `media` module: capture and video codecs for streams, with whatever
|
|
# voelin-media backends are enabled (e.g. MediaCodec and a registered capture
|
|
# source on Android).
|
|
media = ["dep:voelin-media"]
|
|
# `media` with voelin-media's desktop backends: libvpx, OpenH264 loaded at
|
|
# runtime, X11 and PipeWire on Linux. Not for Android (libvpx does not
|
|
# cross-compile there).
|
|
media-desktop = ["media", "voelin-media/default"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
dirs = "6"
|
|
futures = "0.3"
|
|
md5 = "0.8"
|
|
# Reading the official clients' settings.db when importing identities.
|
|
rusqlite = { version = "0.40.2", features = ["bundled"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "sync", "time"] }
|
|
tokio-tungstenite = "0.30"
|
|
toml = "1.1.6"
|
|
tracing = "0.1"
|
|
voelin-audio = { path = "../voelin-audio", default-features = false }
|
|
voelin-gateway-proto = { path = "../voelin-gateway-proto", features = ["client"] }
|
|
voelin-media = { path = "../voelin-media", default-features = false, features = ["str0m", "whip"], optional = true }
|
|
voelin-model = { path = "../voelin-model" }
|
|
voelin-observer = { path = "../voelin-observer" }
|
|
# Paths only (the cache directory).
|
|
voelin-platform = { path = "../voelin-platform", default-features = false }
|
|
voelin-query = { path = "../voelin-query" }
|
|
voelin-store = { path = "../voelin-store" }
|
|
voelin-stream = { path = "../voelin-stream" }
|
|
tsclientlib = { path = "../proto/tsclientlib" }
|
|
# The hash cash level, for raising an identity's security level.
|
|
tsproto = { path = "../proto/tsproto" }
|
|
tsproto-packets = { path = "../proto/tsproto-packets" }
|
|
tsproto-types = { path = "../proto/tsproto-types" }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "test-util"] }
|
|
|
|
[lints]
|
|
workspace = true
|