8 releases (4 breaking)

new 0.5.0 Apr 22, 2024
0.4.0 Mar 22, 2024
0.3.0 Mar 20, 2024
0.2.0 Feb 23, 2024
0.1.1 Sep 11, 2023

#279 in Asynchronous

Download history 11/week @ 2024-01-22 11/week @ 2024-01-29 3/week @ 2024-02-05 138/week @ 2024-02-19 77/week @ 2024-02-26 2/week @ 2024-03-04 24/week @ 2024-03-11 258/week @ 2024-03-18 1/week @ 2024-03-25 62/week @ 2024-04-01 2/week @ 2024-04-08

324 downloads per month
Used in fundamentum-edge-daemon

Apache-2.0

41KB
733 lines

Crates.io Docs.rs

Fundamentum SDK MQTT

Rust MQTT client targeting Fundamentum IoT's MQTT broker.

The Fundamentum's MQTT SDK is designed to quickly set up a Rust environment with an MQTT client, focusing on consuming Fundamentum's MQTT services.

Getting Started

To get started with the SDK, you'll need to install Rust. You can follow the instructions on the official Rust website: Install Rust.

Example

To test your environment, you can build and run a simple command-line application. Check out the examples directory for code samples.

$ cargo run --example pubsub -- \
  --private-key ./rsa_private.pem \
  --project-id 13 --region-id 1 --registry-id 12 \
  --serial 123456789
# ..

Examples

  • pubsub: an advanced example with heartbeat and pub/sub pattern.
  • commands: a basic example with the commands workflow.
  • heartbeat: a very simple example with the heartbeat.
  • config: a very simple example that prints the current configuration.

Development setup

Please see the development setup guide.

License

Licensed under Apache License, Version 2.0 LICENSE

Dependencies

~14–30MB
~534K SLoC