huddle-server 1.1.4

Centralized E2E relay + offline mailbox for huddle, designed to run behind a Tor v3 onion service. Treats huddle's wire bytes as opaque ciphertext — it never decrypts.
[package]
name = "huddle-server"
version = "1.1.4"
edition = "2021"
description = "Centralized E2E relay + offline mailbox for huddle, designed to run behind a Tor v3 onion service. Treats huddle's wire bytes as opaque ciphertext — it never decrypts."
license = "MIT OR Apache-2.0"
repository = "https://github.com/richer-richard/huddle"
homepage = "https://github.com/richer-richard/huddle"
readme = "README.md"
keywords = ["chat", "relay", "tor", "onion", "encryption"]
categories = ["network-programming", "command-line-utilities"]

[[bin]]
name = "huddle-server"
path = "src/main.rs"

[dependencies]
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.24"
futures-util = "0.3"
# Same rusqlite feature as huddle-core so Cargo's feature unification across
# the workspace stays consistent (SQLCipher-capable bundle).
rusqlite = { version = "0.39", features = ["bundled-sqlcipher-vendored-openssl"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1"
# huddle 1.1.4: enforced client auth. The relay verifies an Ed25519 signature
# over its challenge nonce and re-derives the 24-hex fingerprint from the
# presented pubkey. These are open-coded here (sha2 + ed25519-dalek + base64 +
# hex) rather than pulled from huddle-core so the relay stays independent of
# the client's heavy libp2p / vodozemac graph. `rand` supplies the nonce.
# Versions match huddle-core so Cargo's workspace feature unification holds.
ed25519-dalek = "2"
sha2 = "0.11"
base64 = "0.22"
hex = "0.4"
rand = "0.8"

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.24"
futures-util = "0.3"
serde_json = "1"
# huddle 1.1.4: the raw-socket tests perform the auth handshake by hand
# (decode the challenge nonce, sign it via huddle-core's Identity, base64 the
# pubkey/signature into the Hello).
base64 = "0.22"
tempfile = "3"
# Exercise the real client connector (huddle_core::network::server) against
# the server binary, end to end.
huddle-core = { path = "../huddle-core", version = "1.1.4" }