Expand description
TelaRex Core — shared logic, state management, and all subsystems.
This crate is the engine of TelaRex. It provides:
- Buffer management — document editing, undo/redo, macros, and motions
- Syntax highlighting — Tree-sitter-based highlighting with themeable stylesheets
- Configuration — TOML-based settings with schema validation and theme engine
- Networking — P2P lodge discovery and sync via libp2p (gossipsub, mDNS, Kademlia)
- CRDT — Automerge-based document synchronization for collaborative editing
- Actor system — async buffer actor for thread-safe buffer access
- Workspace — shared workspace (lodge) model with member/join management
- LSP — Language Server Protocol client for completions and diagnostics
- Database — SQLite persistence for lodges, sessions, and recent projects
- Errors — typed error framework with codes, levels, and suggested solutions
Modules§
- actor
- Actor system — async buffer actor for thread-safe buffer lifecycle management.
- buffer
- Buffer management — document editing, undo/redo history, macros, cursor motions, and a managed buffer system with Tree-sitter integration.
- clipboard
- command
- Command enumeration — a typed set of every action the editor can perform.
- config
- Configuration — TOML-based settings, theme engine, and style registry.
- crdt
- CRDT — Automerge-based conflict-free replicated data types for collaborative editing.
- database
- Database — SQLite persistence for lodges, sessions, recent projects, and logs.
- errors
- Error framework — typed errors with codes, severity levels, and user-facing solutions.
- lsp
- LSP client — Language Server Protocol integration for code intelligence.
- network
- Networking — libp2p-based peer-to-peer lodge discovery, sync, and authentication.
- syntax
- Syntax highlighting — stylesheet definitions and Tree-sitter-based highlighting.
- workspace
- Workspace — shared workspace (lodge) model for collaborative editing sessions.