【文件属性】:
文件名称:rust-mqtt:MQTT库的Rust包装器
文件大小:19KB
文件格式:ZIP
更新时间:2021-05-08 19:37:44
rust mqtt Rust
#rust-mqtt该库是的Rust包装器。 当前仅实现异步库。
依存关系
从develop分支构建 。
cd ~/Downloads
git clone https://github.com/eclipse/paho.mqtt.c.git
cd paho.mqtt.c
git checkout develop
make
sudo make install
Mac OS X
Rust-mqtt链接到libpaho-mqtt3a 。 Mac OS X无法从原始文件中找到它,因此创建符号链接:
ln -s /usr/local/lib/libpaho-mqtt3a.so.1.0 /usr/local/lib/libpaho-mqtt3a.dylib
ln -s /usr/local/lib/libpaho-mqtt3a.so.1.0 /usr/local/lib/libpaho-mqtt
【文件预览】:
rust-mqtt-master
----.gitignore(18B)
----src()
--------ffiasync.rs(15KB)
--------lib.rs(1KB)
--------async()
----LICENSE(1KB)
----Cargo.toml(175B)
----examples()
--------loopback.rs(2KB)
--------blocking_receive.rs(2KB)
--------nonblocking_receive.rs(2KB)
--------channel_receive.rs(2KB)
----README.md(2KB)