20 releases

Uses new Rust 2024

new 0.10.4 Apr 15, 2025
0.10.3 Mar 31, 2025
0.9.7 Feb 13, 2025
0.9.5 Jan 30, 2025
0.8.7 Dec 21, 2024

#181 in Configuration

Download history 5/week @ 2024-12-26 8/week @ 2025-01-02 163/week @ 2025-01-09 527/week @ 2025-01-16 44/week @ 2025-01-23 532/week @ 2025-01-30 59/week @ 2025-02-06 160/week @ 2025-02-13 33/week @ 2025-02-20 27/week @ 2025-02-27 1/week @ 2025-03-13 236/week @ 2025-03-20 303/week @ 2025-03-27 34/week @ 2025-04-03 115/week @ 2025-04-10

689 downloads per month

Apache-2.0

2MB
25K SLoC

Rust 22K SLoC // 0.2% comments Swift 3K SLoC // 0.1% comments JavaScript 222 SLoC // 0.1% comments

Affinidi Messaging Helpers

Tools to help with setting up, managing and running examples against Affinidi Messaging

This crate contains the following helpers:

  1. 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–145MB
~3M SLoC