Skip to content

Commit

Permalink
feat(interop): add rust-libp2p chromium WASM WebTransport (#217)
Browse files Browse the repository at this point in the history
Introduced in rust-libp2p with libp2p/rust-libp2p#4015.
  • Loading branch information
mxinden authored Jul 7, 2023
1 parent 465065c commit ce83afc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
11 changes: 8 additions & 3 deletions multidim-interop/impl/rust/v0.52/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
image_name := rust-v0.52
commitSha := ce9821154a3bde53e38e72c511acbacb721573ce
commitSha := 68e6bf9c3cd0d3317415a5ba31a62e91cba0a5d2

all: image.json
all: image.json chromium-image.json

chromium-image.json: rust-libp2p-${commitSha}
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@

image.json: rust-libp2p-${commitSha}
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile .
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@

Expand Down
7 changes: 7 additions & 0 deletions multidim-interop/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ export const versions: Array<Version> = [
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "chromium-rust-v0.52",
containerImageID: browserImageIDLookup,
transports: [{ name: "webtransport", onlyDial: true }],
secureChannels: [],
muxers: [],
},
{
id: "js-v0.41",
transports: ["tcp", "ws"],
Expand Down

0 comments on commit ce83afc

Please sign in to comment.