Skip to content

Commit 0357acb

Browse files
authored
Conan (#5)
* added conan files * removed generators from conanfile.txt * fixed deprecated API
1 parent 88e7f8c commit 0357acb

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.2] Q1 2022
9+
- added conanfile.txt for building depending azure-iot-sdk-c libs
10+
811
## [0.2.1] Q1 2022
912
- added iothub_device_client_ll.h for device twin access
1013

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "azure-iot-sdk-sys"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
edition = "2021"
55
authors = ["Joerg Zeidler <joerg.zeidler@conplement.de>", "Jan Zachmann <jan.zachmann@conplement.de>"]
66
build = "build.rs"
@@ -11,5 +11,5 @@ repository = "https://github.com/ICS-DeviceManagement/azure-iot-sdk-sys"
1111
[dependencies]
1212

1313
[build-dependencies]
14-
bindgen = "0.55.1"
15-
glob = "0.3.0"
14+
bindgen = "0.59.1"
15+
glob = "0.3.0"

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fn main() {
9292
.size_t_is_usize(true)
9393
// blacklist time_t so it doesn't get i32 on 32bit systems and set
9494
// it appropriately
95-
.blacklist_type("time_t")
95+
.blocklist_type("time_t")
9696
.raw_line("pub type time_t = std::os::raw::c_longlong;")
9797
// Tell cargo to invalidate the built crate whenever any of the
9898
// included header files changed.

conanfile.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[requires]
2+
azure-iot-sdk-c/LTS_01_2022_Ref01
3+
4+
[options]
5+
azure-iot-sdk-c:hsm_type_sastoken=False
6+
azure-iot-sdk-c:hsm_type_x509=False
7+
azure-iot-sdk-c:skip_samples=True
8+
azure-iot-sdk-c:use_prov_client=False
9+
azure-iot-sdk-c:use_tpm_simulator=False
10+
libcurl:with_zlib=False
11+
libcurl:with_ssl=False

0 commit comments

Comments
 (0)