Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ jobs:
cd wasm
wasm-pack build --target web --release
zip -r clue_wasm.zip pkg
env:
RUSTFLAGS: '--cfg getrandom_backend="wasm_js"'
- name: Upload clue_wasm.zip
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ jobs:
run: |
cd wasm
wasm-pack test --node
env:
RUSTFLAGS: '--cfg getrandom_backend="wasm_js"'
Comment thread
Markos-Th09 marked this conversation as resolved.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ keywords = ["language", "programming-language", "lua", "compiler", "transpiler"]
categories = ["compilers"]

[workspace.dependencies]
ahash = "0.8.11"
clap = { version = "4.4.11", features = ["derive", "cargo", "wrap_help"] }
colored = "2.1.0"
crossbeam-queue = "0.3.10"
flume = "0.11.0"
num_cpus = "1.16.0"
ahash = "0.8.12"
clap = { version = "4.5.39", features = ["derive", "cargo", "wrap_help"] }
colored = "3.0.0"
crossbeam-queue = "0.3.12"
flume = "0.11.1"
num_cpus = "1.17.0"

[profile.release]
lto = true
5 changes: 4 additions & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ crossbeam-queue.workspace = true
ahash.workspace = true
clue_core = { path = "../core", version = "4.0.0-78ce10c1", default-features = false }
clap.workspace = true
mlua = { version = "0.9.6", features = ["luajit", "vendored"], optional = true }
mlua = { version = "0.10.5", features = [
"luajit",
"vendored",
], optional = true }
colored.workspace = true
rpmalloc = { version = "0.2.2", optional = true }

Expand Down
8 changes: 4 additions & 4 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ keywords.workspace = true
categories.workspace = true

[dependencies]
phf = { version = "0.11.2", features = ["macros"] }
phf = { version = "0.11.3", features = ["macros"] }
utf8-decode = "1.0.1"
ahash.workspace = true
clap.workspace = true
rpmalloc = { version = "0.2.2", optional = true }
serde = { version = "1.0.197", optional = true }
serde_json = { version = "1.0.115", optional = true }
serde = { version = "1.0.219", optional = true }
serde_json = { version = "1.0.140", optional = true }
colored.workspace = true

[dev-dependencies]
criterion = "0.5.1"
criterion = "0.6.0"
num_cpus.workspace = true
flume.workspace = true
crossbeam-queue.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ categories.workspace = true
crate-type = ["cdylib", "rlib"]

[dependencies]
serde = "1.0.197"
wasm-bindgen = "0.2.92"
clue_core = { path = "../core", version = "4.0.0-78ce10c1", default-features = false, features = [
serde = "1.0.219"
wasm-bindgen = "0.2.100"
clue_core = { path = "../core", version = "4.0.0-78ce10c1", features = [
"serde",
] }
serde-wasm-bindgen = "0.6.5"
getrandom = { version = "0.2.12", features = ["js"] }
getrandom = { version = "0.3.3", features = ["wasm_js"] }

[dev-dependencies]
wasm-bindgen-test = "0.3.42"
Loading