sylvia-iot-coremgr
The manager of Sylvia-IoT core modules.
This module:
- Integrate APIs of
sylvia-iot-auth
andsylvia-iot-broker
. - Management the underlying brokers for applications and networks. Now we support:
- AMQP: RabbitMQ
- MQTT: EMQX
- Records all POST, PUT, PATCH, DELETE APIs.
Documentation
Mount sylvia-iot-coremgr in your axum App
You can simply mount sylvia-iot-coremgr into your axum App:
use Router;
use App as ClapApp;
use SocketAddr;
use ;
use ;
async
Please see src/bin/sylvia-iot-coremgr.rs
to get the real world example.
All-in-one binary
You can use src/bin/sylvia-iot-core.rs
as a single binary to run the whole sylvia-iot platform.