9 releases

0.1.8 Jun 6, 2023
0.1.7 Jun 14, 2021
0.1.6 Oct 4, 2020
0.1.5 Sep 30, 2020

#68 in #edge


Used in azure-iot-rs

MIT license

17MB
305K SLoC

C 275K SLoC // 0.1% comments C++ 18K SLoC // 0.2% comments C# 6K SLoC // 0.1% comments Shell 2.5K SLoC // 0.3% comments Batch 2K SLoC // 0.0% comments Python 1K SLoC // 0.2% comments PowerShell 257 SLoC // 0.1% comments Prolog 151 SLoC Rust 108 SLoC // 0.1% comments Visual Studio Solution 94 SLoC .NET Resource 64 SLoC // 0.5% comments XSL 35 SLoC D 17 SLoC Objective-C 13 SLoC

Contains (Zip file, 1MB) timediscretemicromock.xps, (Windows DLL, 600KB) Tpm.dll, (Zip file, 80KB) iothubclient_design.vsdx, (Zip file, 41KB) httpapiex_retry_mechanism.vsdx, (Zip file, 58KB) iothubclient_message_callback_ex_uml.vsd, (Zip file, 45KB) iothubhttptransport_ima and 8 more.

azure-iot-rs-sys

Rust bindings for azure_iot_sdk_c

Building

Install the dependencies.

sudo apt-get install -y git cmake build-essential curl libcurl4-openssl-dev libssl-dev uuid-dev

Clone the azure IOT sdk.

git submodule update --init --depth 1
cd azure-iot-sdk-c
git submodule update --init --depth 1 c-utility/
git submodule update --init --depth 1 deps/umock-c/
git submodule update --init --depth 1 deps/parson/
git submodule update --init --depth 1 deps/azure-macrtoutils-c/
# These submodules dpeend on the feature selection.
git submodule update --init --depth 1 umqtt/
git submodule update --init --depth 1 uamqp/
git submodule update --init --depth 1 deps/uhttp/
git submodule update --init --depth 1 provisioning_client/deps/utpm

Build the code.

cargo build

No runtime deps