Skip to content

Commit 6f9ace6

Browse files
authored
Enable wasm32 compilation and runtime of the binary-port-access lib (#1)
* start WIP rustSDK-feat-2.0 branch * Fix deser bug * stash * Change cargo toml * Update cargo toml * typo * stash * update cargo * stash * Add workflow * workflow * workflow * node js binary com * target wasm32 communication module * Doc * Rename folder * // doc * clippy * Comment * Comment * Comment * remove unused error * Comment todo (remove evil eval) * sanitize_input of node tcp helper * clippy * Remove some logs * check request id in rsponse buffer * Bad commit * Reuse web socket in wasm32 * // comment * Clippy * DelegatorKind * Update Cargo * Review comments, AtomicU16 on request_id, add node_tcp_helper.js, clean up * Clippy * Audit missing * Wasm32 WS Close connection if ws url changed * Missing onerror and onclose on bad Web Socket url (no server) * Fix bug on web_socket_url if url does not end with / after port then add it
1 parent 0c1fa33 commit 6f9ace6

17 files changed

Lines changed: 1462 additions & 269 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,13 @@ jobs:
2121
uses: actions-rs/toolchain@v1
2222
with:
2323
toolchain: stable
24+
profile: minimal
25+
components: rustfmt, clippy
2426
target: wasm32-unknown-unknown
2527

28+
- name: Install cargo-audit
29+
run: cargo install cargo-audit
30+
2631
- name: Install dependencies
2732
run: |
2833
sudo apt-get update
@@ -35,12 +40,9 @@ jobs:
3540
- name: Run tests
3641
run: make test
3742

38-
- name: Run Clippy linter
43+
- name: Run Clippy linter and for wasm target
3944
run: make lint
4045

41-
# - name: Run Clippy linter for wasm target
42-
# run: make lint-wasm
43-
4446
- name: Check code formatting
4547
run: make fmt-check
4648

0 commit comments

Comments
 (0)