diff --git a/Cargo.lock b/Cargo.lock index 2f34187..b98b659 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "adler" @@ -294,6 +294,16 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +[[package]] +name = "console_error_panic_hook" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + [[package]] name = "const_fn" version = "0.4.3" @@ -721,6 +731,12 @@ dependencies = [ "either", ] +[[package]] +name = "itoa" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" + [[package]] name = "jobserver" version = "0.1.28" @@ -854,11 +870,12 @@ dependencies = [ [[package]] name = "minifb" -version = "0.25.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05eddefadb505d3dcb66a89fa77dd0936e72ec84e891cc8fc36e3c05bfe61103" +checksum = "d1a093126f2ed9012fc0b146934c97eb0273e54983680a8bf5309b6b4a365b32" dependencies = [ "cc", + "console_error_panic_hook", "dlib", "futures", "instant", @@ -866,14 +883,16 @@ dependencies = [ "lazy_static", "libc", "orbclient", - "raw-window-handle 0.4.3", + "raw-window-handle 0.6.2", "serde", "serde_derive", "tempfile", + "wasm-bindgen", "wasm-bindgen-futures", "wayland-client", "wayland-cursor", "wayland-protocols", + "web-sys", "winapi", "x11-dl", ] @@ -1285,6 +1304,12 @@ dependencies = [ "cty", ] +[[package]] +name = "raw-window-handle" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" + [[package]] name = "rayon" version = "1.9.0" @@ -1380,6 +1405,12 @@ dependencies = [ "semver", ] +[[package]] +name = "ryu" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" + [[package]] name = "scoped-tls" version = "1.0.0" @@ -1446,6 +1477,18 @@ dependencies = [ "syn 2.0.52", ] +[[package]] +name = "serde_json" +version = "1.0.137" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "930cfb6e6abf99298aaad7d29abbef7a9999a9a8806a40088f55f0dcec03146b" +dependencies = [ + "itoa", + "memchr", + "ryu", + "serde", +] + [[package]] name = "serde_spanned" version = "0.6.5" @@ -1715,6 +1758,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" dependencies = [ "cfg-if", + "serde", + "serde_json", "wasm-bindgen-macro", ] diff --git a/hack_computer/Cargo.toml b/hack_computer/Cargo.toml index fc1b641..e619c8b 100644 --- a/hack_computer/Cargo.toml +++ b/hack_computer/Cargo.toml @@ -13,7 +13,7 @@ name = "computer_runner" path = "src/computer_runner.rs" [dependencies] -minifb = "0.25" +minifb = "0.28" image = "0.25" log = "0.4" env_logger = "0.11"