Add Rust: minimax, runner, and codelens highlighter

This commit is contained in:
2025-11-01 17:17:13 -07:00
committed by Mark
parent 3494003683
commit 19f523d0ed
24 changed files with 3420 additions and 0 deletions

28
rust/runner/Cargo.toml Normal file
View File

@@ -0,0 +1,28 @@
[package]
name = "runner"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
minimax = { workspace = true }
anyhow = { workspace = true }
rand = { workspace = true }
itertools = { workspace = true }
wasm-bindgen = { workspace = true }
js-sys = { workspace = true }
web-sys = { workspace = true }
console_error_panic_hook = { workspace = true }
wee_alloc = { workspace = true }
serde = { workspace = true }
serde-wasm-bindgen = { workspace = true }
rhai = { workspace = true }
getrandom = { workspace = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
rhai = { workspace = true, features = ["wasm-bindgen"] }
getrandom = { workspace = true, features = ["js"] }