libchat/README.md
2026-02-03 11:05:54 +08:00

46 lines
551 B
Markdown

# libchat
Supporting library for Logos-chat.
## Prerequisites
Install Rust via [rustup](https://rust-lang.org/tools/install/):
## Quick Start
### Using Cargo
```bash
# Build
cargo build
# Run tests
cargo test
# Run examples
cargo run --example double_ratchet_basic
```
### Using Just
Install [just](https://github.com/casey/just) to manage complex tasks.
On MacOS, you can install it via Homebrew:
```bash
brew install just
```
After that, run:
```bash
# Build
just build
# Run tests
just test
# Run all examples
just run-examples
```