6 releases
new 0.8.7 | Dec 21, 2024 |
---|---|
0.8.5 | Dec 20, 2024 |
#1170 in Authentication
270 downloads per month
74KB
1.5K
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 AM_PROFILE=local
cargo run --example mediator_ping
Using run-time option:
cargo run --example mediator_ping -- -p local
Examples
Dependencies
~181MB
~4M SLoC