mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-24 02:49:31 +00:00
* Sort all Cargo.toml deps for less conflicts * Move relative path deps to workspace * Standardize workspace imports * Rename ‘client’ to ‘logos-chat’ * Cleanups
message-exchange
An example Rust application built on top of crates/client.
It demonstrates that creating a working chat client in pure Rust is trivial: depend on
crates/client, pick a DeliveryService implementation (here the in-memory
InProcessDelivery shipped with the crate), and wire up ChatClient. No boilerplate, no FFI.
Running
cargo run --example message-exchange
The binary performs a message exchange entirely in-process and prints the exchanged messages to stdout.