Skip to content

Commit

Permalink
#9 Encoders for MQTT
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <[email protected]>
  • Loading branch information
sbcd90 committed Jan 27, 2021
1 parent fa7fde9 commit 9b955ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
with:
command: build
toolchain: ${{ matrix.toolchain }}
args: --target ${{ matrix.target }} --features vendored --workspace
args: --target ${{ matrix.target }} --workspace
env:
CC: musl-gcc
CXX: g++
Expand All @@ -86,7 +86,7 @@ jobs:
with:
command: test
toolchain: ${{ matrix.toolchain }}
args: --target ${{ matrix.target }} --features vendored --workspace
args: --target ${{ matrix.target }} --workspace
env:
CC: musl-gcc
CXX: g++
Expand All @@ -98,7 +98,7 @@ jobs:
with:
command: build
toolchain: ${{ matrix.toolchain }}
args: --target wasm32-unknown-unknown --features vendored --package cloudevents-sdk --package cloudevents-sdk-reqwest
args: --target wasm32-unknown-unknown --package cloudevents-sdk --package cloudevents-sdk-reqwest

# Build examples
- uses: actions-rs/cargo@v1
Expand All @@ -107,7 +107,7 @@ jobs:
with:
command: build
toolchain: ${{ matrix.toolchain }}
args: --target ${{ matrix.target }} --features vendored --manifest-path ./example-projects/reqwest-wasm-example/Cargo.toml
args: --target ${{ matrix.target }} --manifest-path ./example-projects/reqwest-wasm-example/Cargo.toml

- uses: actions-rs/cargo@v1
name: "Build rdkafka-example"
Expand Down
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ delegate-attr = "^0.2"
base64 = "^0.12"
url = { version = "^2.1", features = ["serde"] }
snafu = "^0.6"
openssl-sys = "*"
bitflags = "^1.2"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies]
hostname = "^0.3"
openssl-sys = "*"
openssl = { version = "*", features = ["vendored"] }
uuid = { version = "^0.8", features = ["v4"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand All @@ -41,9 +42,6 @@ claim = "0.3.1"
version-sync = "^0.9"
serde_yaml = "0.8"

[features]
vendored = ["openssl-sys/vendored"]

[workspace]
members = [
".",
Expand Down

0 comments on commit 9b955ad

Please sign in to comment.