mirror of
https://codeberg.org/icewind/taspromto.git
synced 2026-08-02 12:14:45 +02:00
tokio 1.0
This commit is contained in:
parent
777785ab76
commit
f2b0589cf6
4 changed files with 312 additions and 502 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use async_stream::try_stream;
|
||||
use color_eyre::Result;
|
||||
use rumqttc::{AsyncClient, Event, EventLoop, MqttOptions, Packet, Publish, QoS};
|
||||
use tokio::stream::{Stream, StreamExt};
|
||||
use tokio_stream::{Stream, StreamExt};
|
||||
|
||||
pub async fn mqtt_stream(
|
||||
mqtt_options: MqttOptions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue