From 9763b2e33237e81493c7f89238449b1122d2aaad Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Tue, 26 Jan 2021 17:57:10 -0800 Subject: [PATCH] #9 Encoders for MQTT Signed-off-by: Subhobrata Dey --- .github/workflows/rust_tests.yml | 2 +- cloudevents-sdk-paho-mqtt/Cargo.toml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust_tests.yml b/.github/workflows/rust_tests.yml index a27e53cb..d297b8c4 100644 --- a/.github/workflows/rust_tests.yml +++ b/.github/workflows/rust_tests.yml @@ -76,7 +76,7 @@ jobs: with: command: build toolchain: ${{ matrix.toolchain }} - args: --target ${{ matrix.target }} --workspace + args: --target ${{ matrix.target }} --features vendored --workspace env: CC: musl-gcc CXX: g++ diff --git a/cloudevents-sdk-paho-mqtt/Cargo.toml b/cloudevents-sdk-paho-mqtt/Cargo.toml index f6076876..6e75ba40 100644 --- a/cloudevents-sdk-paho-mqtt/Cargo.toml +++ b/cloudevents-sdk-paho-mqtt/Cargo.toml @@ -13,6 +13,10 @@ cloudevents-sdk = { version = "0.3.0", path = ".." } lazy_static = "1.4.0" paho-mqtt = "0.9.1" chrono = { version = "^0.4", features = ["serde"] } +openssl-sys = "*" [dev-dependencies] -serde_json = "^1.0" \ No newline at end of file +serde_json = "^1.0" + +[features] +vendored = ["openssl-sys/vendored"] \ No newline at end of file