core-mqtt-sys

Crates.iocore-mqtt-sys
lib.rscore-mqtt-sys
version0.1.1
sourcesrc
created_at2021-12-19 11:04:43.26308
updated_at2021-12-19 11:09:20.935272
descriptioncoreMQTT client library in rust (unofficial)
homepage
repository
max_upload_size
id500352
size1,540,522
Aaron Tsui (awsa2ron)

documentation

README

core-mqtt-sys

coreMQTT update

Instructions for updating to new coreMQTT source code releases in core-mqtt-sys/:

  1. Wipe out coreMQTT/ and replace it with the contents of the distribution tarball.
  2. Cherry-pick any local changes from the previous version.
  3. Build coreMQTT to generate libcore_mqtt.a, and update libcore_mqtt.a on your system.
cd coreMQTT/
rm -rf build && mkdir build
cd build/
cp ../../CMakeLists.txt ../
cmake ..
make
sudo cp lib/libcore_mqtt.a /usr/lib/
  1. copy core_mqtt_config_defaults.h as core_mqtt_config_defaults.h.
cd ../source/include/
cp core_mqtt_config_defaults.h core_mqtt_config.h
cp ../interface/transport_interface.h ./

cargo build
cargo test
  1. Update Cargo.toml version number.
Commit count: 0

cargo fmt