d62cb61c67
The message now appears automatically via WebSocket fan-out, eliminating the extra get_history round-trip.
27 lines
651 B
TOML
27 lines
651 B
TOML
[package]
|
|
name = "mm-bridge"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "mm-bridge"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
mm-client.workspace = true
|
|
mm-core.workspace = true
|
|
mm-store.workspace = true
|
|
mm-web.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
# Объединяем workspace = true с дополнительной фичей "sync" (нужна для broadcast::channel)
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|