Add Rust: minimax, runner, and codelens highlighter
This commit is contained in:
41
rust/Cargo.toml
Normal file
41
rust/Cargo.toml
Normal file
@@ -0,0 +1,41 @@
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
opt-level = 's'
|
||||
|
||||
[workspace]
|
||||
members = ["runner", "minimax", "rhai-codemirror"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.dependencies]
|
||||
minimax = { path = "./minimax" }
|
||||
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
rand = { version = "0.8.5", features = ["alloc", "small_rng"] }
|
||||
anyhow = "1.0.80"
|
||||
itertools = "0.12.1"
|
||||
rhai = { version = "1.23.4", default-features = false, features = [
|
||||
"no_time",
|
||||
"no_module",
|
||||
"no_custom_syntax",
|
||||
"only_i64",
|
||||
"f32_float",
|
||||
] }
|
||||
|
||||
|
||||
# js ffi
|
||||
getrandom = "0.2"
|
||||
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
|
||||
js-sys = "0.3"
|
||||
web-sys = { version = "0.3", features = [
|
||||
"console",
|
||||
"Document",
|
||||
"Element",
|
||||
"HtmlElement",
|
||||
"Window",
|
||||
"Performance",
|
||||
] }
|
||||
console_error_panic_hook = "0.1"
|
||||
wee_alloc = "0.4"
|
||||
serde-wasm-bindgen = "0.4"
|
||||
parking_lot = "0.12.5"
|
||||
Reference in New Issue
Block a user