voelin-identity, voelin-proto and voelin-model now come from one revision of the protocol repository (main c8e0e5a: the session seam voelin_proto::link with its account types, and the replica in voelin-model). The client's own crates/voelin-model is removed: the protocol's crate is a superset, identical in presence, server, chat and percent, and differs in badges.rs, link.rs and tree.rs only by a doc comment and two equivalent expressions, and adds the perms and replica modules. Every crate that used it takes voelin-model.workspace = true. voelin-core depends on voelin-proto (and, in its dev-dependencies, on the test-util fakes), which the engine will consume in the next commits. Manifests, the lock file and docs only: no source change. THIRD_PARTY_NOTICES.md is unchanged (scripts/notices.sh --check: up to date). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "voelin-gateway-proto"
|
|
version = "0.1.0"
|
|
description = "Wire protocol and identity-challenge authentication of the tsgw gateway."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[features]
|
|
# A typed WebSocket client (`voelin_gateway_proto::client`).
|
|
client = ["dep:futures-util", "dep:tokio", "dep:tokio-tungstenite"]
|
|
|
|
[dependencies]
|
|
base64 = "0.22"
|
|
futures-util = { version = "0.3.34", features = ["sink"], optional = true }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha1 = { package = "sha-1", version = "0.10" }
|
|
sha2 = "0.10"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["macros", "net", "rt", "sync"], optional = true }
|
|
# TLS (`wss://`, as gateways run behind a proxy) with the system's
|
|
# certificates; rustls and its crates are in the tree already (reqwest).
|
|
tokio-tungstenite = { version = "0.30", optional = true, features = ["rustls-tls-native-roots"] }
|
|
voelin-model = { workspace = true }
|
|
tsproto-types = { path = "../proto/tsproto-types" }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
tsproto = { path = "../proto/tsproto" }
|