mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-06-28 03:59:27 +00:00
* Simplify client * Fixups * Update Cli-Client to use builder * undeprecate legacy convos * Allow Storage config in builder * bug fixes * Clippy fix * fixes
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.