Skip to content

Commit

Permalink
Fix: Wasm spawn (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
arriqaaq authored Nov 23, 2024
1 parent ac60288 commit fa052f5
Show file tree
Hide file tree
Showing 6 changed files with 197 additions and 109 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,3 @@ jobs:

- name: Format
run: cargo fmt --all -- --check

semver:
name: semver
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
8 changes: 8 additions & 0 deletions .github/workflows/crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ defaults:
shell: bash

jobs:
semver:
name: semver
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2

publish-crate:
name: Publish crate
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
workflow_dispatch:

jobs:
semver:
name: semver
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2

release:
name: Process Release
runs-on: ubuntu-latest
Expand Down
15 changes: 14 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "surrealkv"
publish = true
version = "0.5.4"
version = "0.6.0"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -30,6 +30,7 @@ vart = "0.7.0"
revision = "0.10.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2.15", features = ["js"] }
wasm-bindgen-futures = "0.4.45"

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
Expand All @@ -49,7 +50,3 @@ walkdir = "2.5.0"
[[bench]]
name = "store_bench"
harness = false

[[bench]]
name = "load_bench"
harness = false
Loading

0 comments on commit fa052f5

Please sign in to comment.