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

#25 in #device


Used in azure-iot-rs

MIT license

23MB
419K SLoC

C 381K SLoC // 0.1% comments C++ 24K SLoC // 0.2% comments C# 7K SLoC // 0.1% comments Shell 2.5K SLoC // 0.2% comments Batch 2K SLoC // 0.0% comments Python 1K SLoC // 0.2% comments Visual Studio Project 726 SLoC PowerShell 284 SLoC // 0.1% comments Visual Studio Solution 240 SLoC .NET Resource 122 SLoC // 0.5% comments Rust 108 SLoC // 0.1% comments XSL 35 SLoC Elixir 4 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.vsdx, (Zip file, 45KB) iothubhttptransport_image.vsdx 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