Skip to content

Commit 452611c

Browse files
committed
Refresh WASM operator Cargo.lock files and consolidate registry config
1 parent 89073ea commit 452611c

File tree

39 files changed

+589
-516
lines changed

39 files changed

+589
-516
lines changed

samples/wasm/.cargo/config.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
[registries]
2-
aio-sdks = { index = "sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }
3-
4-
[build]
5-
target = "wasm32-wasip2"
2+
aio-wg = { index = "sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/" }

samples/wasm/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache clang lld musl-dev git perl make cmake
99
RUN rustup target add wasm32-wasip2 ${ARCH}-unknown-linux-gnu
1010

1111
# Set up cargo registry for Azure IoT Operations packages
12-
ENV CARGO_REGISTRIES_AZURE_WASM_SDK_INDEX="sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/"
12+
ENV CARGO_REGISTRIES_AIO_WG_INDEX="sparse+https://pkgs.dev.azure.com/azure-iot-sdks/iot-operations/_packaging/preview/Cargo/index/"
1313
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
1414

1515
# Create directories

samples/wasm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Output lands under `operators/<name>/bin/<arch>/<mode>/`. CI uses the `Makefile`
5151

5252
[dependencies]
5353
wit-bindgen = "0.22"
54-
wasm_graph_sdk = { version = "=1.1.1", registry = "aio-sdks" }
54+
wasm_graph_sdk = { version = "=1.1.3", registry = "aio-wg" }
5555
serde = { version = "1", default-features = false, features = ["derive"] }
5656
serde_json = { version = "1", default-features = false, features = ["alloc"] }
5757

samples/wasm/operators/collection/.cargo/config.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

samples/wasm/operators/collection/Cargo.lock

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/wasm/operators/collection/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77

88
[dependencies]
99
wit-bindgen = "0.22"
10-
wasm_graph_sdk = { version = "=1.1.3", registry="aio-wg" }
10+
wasm_graph_sdk = { version = "=1.1.3", registry = "aio-wg" }
1111

1212
serde = { version = "1", features = [
1313
"derive",

samples/wasm/operators/enrichment/.cargo/config.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)