Skip to main content

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​

RepositoryRoleMSRVRecommended entry pointLicense
rsReticulumCore Reticulum stack, interfaces, and standalone CLI tools (rns-*)1.89+rns_runtime::preludeReticulum License
rsLXMFLXMF messaging, propagation, stamps, and lxmd-rs (lxmf-*)1.89+lxmf_core::message_apiReticulum License
rsLXSTVoice/media transport over Reticulum Links (lxst-*)1.89+ (1.87+ embedded)Experimental (lxst-telephony)LXST License (non-commercial)
lrgp-rs / lrgp-pyPeer-to-peer turn-based games over LXMF (lrgp.v1)1.87+ / Python 3.8+lrgp::protocol / lrgp.app_baseMIT
lxmfaceDeterministic SVG identicons from LXMF hashes (Rust & JS)1.85+Crate rootMIT
rsReticulumLite / rsLXMFLiteno_std, zero-allocation MCU protocol ports (rns-lite-core, lxmf-lite-core)1.87+MicroNode / SmallNode / LiteNodeReticulum License
ratspeak-handheldUnified ESP32-S3 firmware + Rust→C staticlib FFI (libratspeak_protocol.a)Pinned Xtensa / ESP32protocol/include/ratspeak_protocol.hReticulum License (+ LXST / GPLv3)
RatspeakDesktop & 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/):

TierCratesIntegration guidance
candidate-stablerns-identity, rns-link, rns-protocol, rns-interface, lxmf-coreReviewed 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.
provisionalrns-crypto, rns-wire, rns-transport, rns-runtime, lrgp, rsnode-updatePrefer 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.
experimentalrns-ratkey, lxst-core, lxst-rns, lxst-telephony, lxst-embedded, lxst-codec2Active development; pin exact Git tags or commits.
tool-internalrns-tools, rns-git, lxmf-toolsLibrary targets exist to support the CLI binaries (rnsd-rs, lxmd-rs, rngit-rs), not external library consumers.
application-internalratspeak-core, ratspeak-db, ratspeak-runtime, ratspeak-tauri, ratspeakInternal 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​

Check license compatibility before embedding rsLXST

rsLXST 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 groupLicenseKey terms
rsReticulum, rsLXMF, rsReticulumLite, rsLXMFLite, Ratspeak (without lxst-voice), ratspeak-handheld coreReticulum LicensePermissive use, modification, distribution, and commercial sale — with three conditions: no harm-built systems, no AI/LLM training, and retain notices.
lrgp-rs, lrgp-py, lxmfaceMITStandard permissive MIT license (does not alter the license of host apps that embed them).
rsLXST (lxst-*)LXST LicenseNon-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​