18 releases
Uses new Rust 2024
new 0.10.2 | Mar 27, 2025 |
---|---|
0.10.1 | Mar 24, 2025 |
0.9.7 | Feb 13, 2025 |
0.9.5 | Jan 30, 2025 |
0.8.7 | Dec 21, 2024 |
#6 in #affinidi
265 downloads per month
2MB
25K
SLoC
Affinidi Messaging Helpers
Tools to help with setting up, managing and running examples against Affinidi Messaging
This crate contains the following helpers:
setup-environment
- Configures the initial environment for either local or remote mediators
Debug logging
To enable logging at DEBUG level just for this crate,
export RUST_LOG=none,affinidi_messaging_helpers=debug
Set Profile when running examples
You can have multiple environment profiles so that you can easily switch between different mediators.
The configuration file for profiles is generated from the setup-environment
helper. This is stored in affinidi-messaging-helpers/conf/profiles.json
To set the profile you can either set an environment variable, or specify a profile at run-time
Using environment variable:
export TDK_ENVIRONMENT=local
cargo run --example mediator_ping
Using run-time option:
cargo run --example mediator_ping -- -p local
Examples
Dependencies
~105–140MB
~3M SLoC