Developers overview and crate map
The Ratspeak ecosystem is organized as independent Rust workspaces (edition 2024; protocol workspaces use resolver = "2", Ratspeak uses resolver = "3", and Ratspeak/src-tauri uses edition 2021 for Tauri v2). Every protocol crate is engineered and CI-tested for byte-exact wire interoperability with Python Reticulum and LXMF.
Repository overview
| Repository | Role | MSRV | Recommended entry point | License |
|---|---|---|---|---|
rsReticulum | Core Reticulum stack, interfaces, and standalone CLI tools (rns-*) | 1.89+ | rns_runtime::prelude | Reticulum License |
rsLXMF | LXMF messaging, propagation, stamps, and lxmd-rs (lxmf-*) | 1.89+ | lxmf_core::message_api | Reticulum License |
rsLXST | Voice/media transport over Reticulum Links (lxst-*) | 1.89+ (1.87+ embedded) | Experimental (lxst-telephony) | LXST License (non-commercial) |
lrgp-rs / lrgp-py | Peer-to-peer turn-based games over LXMF (lrgp.v1) | 1.87+ / Python 3.8+ | lrgp::protocol / lrgp.app_base | MIT |
lxmface | Deterministic SVG identicons from LXMF hashes (Rust & JS) | 1.85+ | Crate root | MIT |
rsReticulumLite / rsLXMFLite | no_std, zero-allocation MCU protocol ports (rns-lite-core, lxmf-lite-core) | 1.87+ | MicroNode / SmallNode / LiteNode | Reticulum License |
ratspeak-handheld | Unified ESP32-S3 firmware + Rust→C staticlib FFI (libratspeak_protocol.a) | Pinned Xtensa / ESP32 | protocol/include/ratspeak_protocol.h | Reticulum License (+ LXST / GPLv3) |
Ratspeak | Desktop & mobile Tauri 2 app (ratspeak-{core,db,runtime,tauri}, rsnode-update) | 1.90+ | Internal app crates (not a public SDK) | Reticulum License (+ LXST) |
Crate stability tiers (api/stability.json)
Each host Rust repository tracks its public API snapshots and per-crate stability tier in api/stability.json (verified in CI with cargo-public-api and api/fixtures/):
| Tier | Crates | Integration guidance |
|---|---|---|
candidate-stable | rns-identity, rns-link, rns-protocol, rns-interface, lxmf-core | Reviewed API surface; breaking changes require a migration guide (for example api/migrations/1.5.md) and a minor release bump. For lxmf-core, start at lxmf_core::message_api; router/delivery orchestration remains provisional. |
provisional | rns-crypto, rns-wire, rns-transport, rns-runtime, lrgp, rsnode-update | Prefer the canonical facade (rns_runtime::prelude, lrgp::protocol). Low-level actor, RPC, mailbox, router, and store modules remain module-qualified and may evolve across minor releases. |
experimental | rns-ratkey, lxst-core, lxst-rns, lxst-telephony, lxst-embedded, lxst-codec2 | Active development; pin exact Git tags or commits. |
tool-internal | rns-tools, rns-git, lxmf-tools | Library targets exist to support the CLI binaries (rnsd-rs, lxmd-rs, rngit-rs), not external library consumers. |
application-internal | ratspeak-core, ratspeak-db, ratspeak-runtime, ratspeak-tauri, ratspeak | Internal to the Ratspeak desktop/mobile app; not a stable public SDK. |
Depending on Ratspeak crates
Protocol crates are distributed from Git rather than crates.io. Choose either tagged Git dependencies (for standalone external projects) or sibling path dependencies (when hacking across multiple repos locally).
Option A: Pin release tags in Cargo.toml
Pin a matching minor line so rsReticulum and rsLXMF share the same wire/storage contract (check each repo's releases for the latest patch tag, e.g. v1.5.1 or v1.5.0):
[dependencies]
rns-runtime = { git = "https://github.com/ratspeak/rsReticulum.git", tag = "v1.5.1" }
lxmf-core = { git = "https://github.com/ratspeak/rsLXMF.git", tag = "v1.5.1" }
lrgp = { git = "https://github.com/ratspeak/lrgp-rs.git", tag = "v0.4.1" }
Option B: Local sibling path dependencies
The workspaces use relative sibling paths (../rsReticulum/crates/...) when checked out side-by-side:
[dependencies]
rns-runtime = { path = "../rsReticulum/crates/rns-runtime" }
lxmf-core = { path = "../rsLXMF/crates/lxmf-core" }
lrgp = { path = "../lrgp-rs" }
When rebuilding the Ratspeak app itself, always assemble exact sibling commits from release/dependency-set.json as shown in Building from source.
Generating local rustdoc & running API checks
Every repository builds full offline API documentation directly from source:
# Host protocol crates (Rust 1.89+)
cd rsReticulum && cargo doc --workspace --no-deps --open
cd rsLXMF && cargo doc --workspace --no-deps --open
cd lrgp-rs && cargo doc --no-deps --open
# Embedded no_std crates (Rust 1.87+)
cd rsReticulumLite && cargo +1.87.0 doc --workspace --no-deps --locked --open
When changing public items in rsReticulum or rsLXMF, run the repository's API baseline and consumer fixture checks before opening a PR:
python3 tools/check-api-baseline.py
python3 tools/check-api-manifest.py
python3 tools/check-api-compatibility.py
cargo check --manifest-path api/fixtures/Cargo.toml --locked
Licensing boundaries at a glance
rsLXSTrsLXST is licensed under Mark Qvist's separate non-commercial LXST License, scoped specifically to Ratspeak. Do not embed rsLXST in third-party or commercial projects without separate permission.
| Component group | License | Key terms |
|---|---|---|
rsReticulum, rsLXMF, rsReticulumLite, rsLXMFLite, Ratspeak (without lxst-voice), ratspeak-handheld core | Reticulum License | Permissive use, modification, distribution, and commercial sale — with three conditions: no harm-built systems, no AI/LLM training, and retain notices. |
lrgp-rs, lrgp-py, lxmface | MIT | Standard permissive MIT license (does not alter the license of host apps that embed them). |
rsLXST (lxst-*) | LXST License | Non-commercial, Ratspeak-specific voice/media component; disable in Ratspeak builds with --no-default-features. |
See Licenses for full license texts and third-party notices.
Where to go next
- Start coding in Rust: Reticulum in Rust, LXMF in Rust, or Building games with LRGP.
- Embedded & MCU work: Embedded Lite & Handheld FFI.
- App development: App architecture & contributing, Building from source, and Tauri IPC reference.
- Component references: rsReticulum, rsLXMF, LRGP, Git over Reticulum, LXMFace, Ratkey, and rsLXST.