Expand description
This library provides a simple and efficient way to transfer objects between different parts of an application or between different applications through message brokers like NATS. It supports serialization and/or deserialization of various data formats, making it easy to send and/or receive complex data structures.
§CI/CD Status
Re-exports§
pub use format::Format;pub use traits::PubTrait;pub use traits::SubOptTrait;pub use traits::SubTrait;pub use traits::UnSubTrait;
Modules§
- errors
- Error definitions shared across the crate. Defines high-level error types (AckError, PubError, SubError, UnSubError) that use BrokerError as a common wrapper for NATS, JetStream, and serialization errors.
- format
- Enumerations shared across the crate.
Currently only exposes the
Formatenum representing supported serialization/deserialization formats. - nats
- NATS connector module for pub/sub messaging.
- redis
- Redis-based implementation for the object-transfer connector.
- traits
- Core trait abstractions for pub/sub messaging with typed and untyped interfaces.