offline-protocol-core
Core types and data structures for the Offline Protocol SDK — the foundation layer every other crate in the workspace builds on.
Provides:
- The
Messageenvelope and its identifiers (UserId,AppId), TTL and hop-count bookkeeping, and timestamps - The compact binary wire codec (wire v1), negotiated per peer with JSON as the permanent fallback format
This crate is an internal layer of the SDK. Most Rust consumers want the main offline-protocol crate instead, and app developers want the React Native or Python bindings.
License
Copyright © 2025-2026 Offline Protocol, Inc.
Dual-licensed: AGPL-3.0-only for open-source use, or a commercial license for proprietary use.