mini-monkey / minimonkeyrs

Rust client for the Mini Monkey broker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mini Monkey Rust client

Build Status License Apache 2

Logo

Mini Monkey is a minimal message routing system. Considerably smaller and simpler than MQTT.

This repository contains the rust crate for the Mini Monkey client code.

Examples

mm_publish mm_subscribe mm_provision

Project Plan

  • Stabile publish
  • Stabile subscribe
  • Minimal administration tasks
  • Complete broker provisioning

Provisioning

One of the main goals of the Mini Monkey broker is that it can be programmatically provisioned.

mm_provision --host localhost --port 1773 --token adminToken --file provision.yaml
rooms:
  - name: Kitchen
    tokens_allowed_to_admin:
      - admin1
    tokens_allowed_to_publish:
      - sensor1
      - sensor2
    tokens_allowed_to_subscribe:
      - house_automation

  - name: LivingRoom
    tokens_allowed_to_admin:
      - admin2
    tokens_allowed_to_publish:
      - sensor3
      - sensor4
    tokens_allowed_to_subscribe:
      - house_automation

About

Rust client for the Mini Monkey broker

License:Apache License 2.0


Languages

Language:Rust 100.0%