6 releases
Uses new Rust 2024
new 0.10.4 | Apr 15, 2025 |
---|---|
0.10.3 | Mar 31, 2025 |
0.9.7 | Feb 13, 2025 |
#9 in #affinidi
662 downloads per month
Used in affinidi-messaging-mediat…
96KB
1K
SLoC
Affinidi Messaging Processor
Tasks that can be run as a parallel task within the Mediator, or run externally as a stand-alone service.
This provides scalability by being able to distribute heavy tasks away from the core Mediator functionality
Processors
Message Expiry Cleanup
Cleans up expired messages by removing them from the database based on expiry headers
Forwarding
Handles the routing/forwarding of a DIDComm message to a 3rd party Mediator/DIDComm-Agent This is a work in progress
Crate Layout
As each processor can be either a binary or a library, the file layout can be confusing.
- src/lib - Contains the shared code for the library interfaces for each processor
- src/lib/
processor
- contains specific code for each processor
- src/lib/
- src/
processor
- contains the binary code to launch the processor as a standalone binary executable - conf/
processor
.toml - contains the configuration for each processor
Dependencies
~110–145MB
~3M SLoC