5 unstable releases

0.3.0 Jul 22, 2025
0.2.2 Jun 15, 2025
0.1.1 Apr 24, 2025
0.0.1 Mar 6, 2025

#2587 in Embedded development


Used in srad

MIT/Apache

185KB
4.5K SLoC

Part of srad, a general purpose Sparkplug development library in rust.

Overview

srad-app provides a general implementation of a Sparkplug application (see Application) which supports:

  • Node and Device state management
  • Message sequence reordering
  • Detecting situations where an Application may require a node to issue a rebirth message

The generic application should be able to support the majority of use cases required from a Sparkplug application.

For more specific custom implementations srad-app also provides a poll-able [AppEventLoop] and [AppClient] to be used as the base for implementing Sparkplug Applications.

The EventLoop processes Sparkplug messages produced by a specified srad-client implementation. It provides:

  • Application topic subscription management
  • Application online state management
  • Payload validation and transformation to ergonomic types

Srad App

Part of srad, a general purpose Sparkplug development library in rust.

This library defines a framework for implementing Sparkplug Applications.

Dependencies

~4–16MB
~157K SLoC