From 44e1ce6b2313cc7efe9c1f05f5b9e901beebfd08 Mon Sep 17 00:00:00 2001 From: Douglas Chimento Date: Tue, 3 Dec 2024 19:53:32 +0200 Subject: [PATCH] rename wasm_websocket_client --- .github/workflows/ci.yaml | 2 +- Cargo.toml | 3 +-- .../Cargo.toml | 5 ++++- .../README.md | 0 .../favicon.ico | Bin .../index.html | 0 .../src/lib.rs | 0 .../src/utils.rs | 0 .../styles.css | 0 9 files changed, 6 insertions(+), 4 deletions(-) rename {wasm_websocket_client => wasm_websocket_demo}/Cargo.toml (92%) rename {wasm_websocket_client => wasm_websocket_demo}/README.md (100%) rename {wasm_websocket_client => wasm_websocket_demo}/favicon.ico (100%) rename {wasm_websocket_client => wasm_websocket_demo}/index.html (100%) rename {wasm_websocket_client => wasm_websocket_demo}/src/lib.rs (100%) rename {wasm_websocket_client => wasm_websocket_demo}/src/utils.rs (100%) rename {wasm_websocket_client => wasm_websocket_demo}/styles.css (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b6c1423..3315e35 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,4 +91,4 @@ jobs: - name: Install wasm-pack run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: "wasm-pack" - run: cd wasm_websocket_client && wasm-pack build --target web + run: cd wasm_websocket_demo && wasm-pack build --target web diff --git a/Cargo.toml b/Cargo.toml index 13f221d..3801b41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,7 @@ authors = ["WalletConnect Team"] license = "Apache-2.0" [workspace] -members = ["blockchain_api", "relay_client", "relay_rpc"] -exclude = ["wasm_websocket_client"] +members = ["blockchain_api", "relay_client", "relay_rpc", "wasm_websocket_demo"] [features] default = ["full"] diff --git a/wasm_websocket_client/Cargo.toml b/wasm_websocket_demo/Cargo.toml similarity index 92% rename from wasm_websocket_client/Cargo.toml rename to wasm_websocket_demo/Cargo.toml index 4f16278..28641d8 100644 --- a/wasm_websocket_client/Cargo.toml +++ b/wasm_websocket_demo/Cargo.toml @@ -1,10 +1,13 @@ [package] -name = "wasm_websocket_client" +name = "wasm_websocket_demo" version = "0.1.0" edition = "2021" authors = ["WalletConnect Team"] license = "Apache-2.0" +[build] +target = "wasm32-unknown-uknown" + [lib] crate-type = ["cdylib"] diff --git a/wasm_websocket_client/README.md b/wasm_websocket_demo/README.md similarity index 100% rename from wasm_websocket_client/README.md rename to wasm_websocket_demo/README.md diff --git a/wasm_websocket_client/favicon.ico b/wasm_websocket_demo/favicon.ico similarity index 100% rename from wasm_websocket_client/favicon.ico rename to wasm_websocket_demo/favicon.ico diff --git a/wasm_websocket_client/index.html b/wasm_websocket_demo/index.html similarity index 100% rename from wasm_websocket_client/index.html rename to wasm_websocket_demo/index.html diff --git a/wasm_websocket_client/src/lib.rs b/wasm_websocket_demo/src/lib.rs similarity index 100% rename from wasm_websocket_client/src/lib.rs rename to wasm_websocket_demo/src/lib.rs diff --git a/wasm_websocket_client/src/utils.rs b/wasm_websocket_demo/src/utils.rs similarity index 100% rename from wasm_websocket_client/src/utils.rs rename to wasm_websocket_demo/src/utils.rs diff --git a/wasm_websocket_client/styles.css b/wasm_websocket_demo/styles.css similarity index 100% rename from wasm_websocket_client/styles.css rename to wasm_websocket_demo/styles.css