Direct call ringing: - Incoming: oscillator ring tone (440/480Hz, on/off pattern) - Outgoing: ringback tone (2s on, 4s off) while waiting for answer - Browser Notification API for background incoming calls - All tones stop on answer/reject/hangup - Notification permission requested on first click Group calls: - /gcall — start a group call (notifies all group members) - /gjoin — join an active group call - /gleave-call — leave group call - /gmute — toggle per-group call notification mute (localStorage) - Participant tracking (joined/left messages with count) - Group call signal via group message broadcast (JSON type: group_call) - Call bar shows "Join Call" button when group call is active - Audio via same WZP bridge (room = gc-<groupname>) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[package]
|
|
name = "warzone-protocol"
|
|
version = "0.0.45"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Core crypto & wire protocol for featherChat (Warzone messenger)"
|
|
rust-version = "1.75"
|
|
|
|
# This crate is designed to be importable standalone — no workspace inheritance.
|
|
# WarzonePhone and other projects can depend on it directly via path or git.
|
|
|
|
[dependencies]
|
|
# Crypto
|
|
ed25519-dalek = { version = "2", features = ["serde", "rand_core"] }
|
|
x25519-dalek = { version = "2", features = ["serde", "static_secrets"] }
|
|
curve25519-dalek = "4"
|
|
chacha20poly1305 = "0.10"
|
|
hkdf = "0.12"
|
|
sha2 = "0.10"
|
|
rand = "0.8"
|
|
|
|
# Ethereum compatibility
|
|
k256 = { version = "0.13", features = ["ecdsa", "serde"] }
|
|
tiny-keccak = { version = "2", features = ["keccak"] }
|
|
|
|
# BIP39
|
|
bip39 = "2"
|
|
|
|
# Serialization
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
bincode = "1"
|
|
|
|
# Error handling
|
|
thiserror = "2"
|
|
|
|
# Encoding
|
|
hex = "0.4"
|
|
base64 = "0.22"
|
|
|
|
# UUID
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
|
|
# Memory safety
|
|
zeroize = { version = "1", features = ["derive"] }
|
|
|
|
# Time
|
|
chrono = { version = "0.4", features = ["serde"] }
|