Expand description
§pulse-core
Core types, traits, and message routing for the Pulse realtime engine.
This crate provides the fundamental building blocks:
- Channel - Room/topic abstraction for grouping connections
- Router - High-performance pub/sub message routing
- Presence - Track and broadcast user presence
- Message - Internal message types
§Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Connection │────▶│ Router │────▶│ Channel │
└─────────────┘ └─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ Presence │
└─────────────┘Re-exports§
pub use channel::Channel;pub use channel::ChannelId;pub use message::Message;pub use presence::Presence;pub use presence::PresenceState;pub use router::Router;pub use router::RouterConfig;pub use router::RouterError;