From fe286a3609a8ebda3f1574e09fe26275ee12ae8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20H=C3=B6lting?= <87192362+moritz-hoelting@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:12:38 +0200 Subject: [PATCH] change from git to crates.io dependency, add vs code extension --- src/content/docs/guides/getting-started.mdx | 4 ++++ src/wasm/webcompiler/Cargo.lock | 6 ++++-- src/wasm/webcompiler/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/content/docs/guides/getting-started.mdx b/src/content/docs/guides/getting-started.mdx index 1bb7ade..4e0eb5f 100644 --- a/src/content/docs/guides/getting-started.mdx +++ b/src/content/docs/guides/getting-started.mdx @@ -83,6 +83,10 @@ This method takes the longest. If you have no reason to build from source, you m ``` +## Installing the VS Code extension (optional) +To get syntax highlighting and snippets for Shulkerscript files in Visual Studio Code, you can +install the [official extension](https://marketplace.visualstudio.com/items?itemName=moritz-hoelting.shulkerscript-lang). + ## Creating a new project 1. Create a new directory for your project. diff --git a/src/wasm/webcompiler/Cargo.lock b/src/wasm/webcompiler/Cargo.lock index 167d867..b86eb20 100644 --- a/src/wasm/webcompiler/Cargo.lock +++ b/src/wasm/webcompiler/Cargo.lock @@ -497,7 +497,8 @@ dependencies = [ [[package]] name = "shulkerbox" version = "0.1.0" -source = "git+https://github.com/moritz-hoelting/shulkerbox?rev=6e956fbe7438158c6a29c1a92d057f0f3093405a#6e956fbe7438158c6a29c1a92d057f0f3093405a" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18704338e25effa7d02ab8d83c453814a54163b66464693bb4aac0012f05db8b" dependencies = [ "chksum-md5", "getset", @@ -509,7 +510,8 @@ dependencies = [ [[package]] name = "shulkerscript" version = "0.1.0" -source = "git+https://github.com/moritz-hoelting/shulkerscript-lang.git?rev=a9a8aff13b0ad0986ee1bdf3d44b74676385dfcd#a9a8aff13b0ad0986ee1bdf3d44b74676385dfcd" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1546b5164f154cb0ecb5b676d0f1beeb46b9417b785b2bc43b8e2d07caab01eb" dependencies = [ "chksum-md5", "colored", diff --git a/src/wasm/webcompiler/Cargo.toml b/src/wasm/webcompiler/Cargo.toml index 1ae3a9a..c78a348 100644 --- a/src/wasm/webcompiler/Cargo.toml +++ b/src/wasm/webcompiler/Cargo.toml @@ -23,7 +23,7 @@ colored = "2.1.0" console_error_panic_hook = "0.1.7" serde = "1.0" serde-wasm-bindgen = "0.6.5" -shulkerscript = { git = "https://github.com/moritz-hoelting/shulkerscript-lang.git", default-features = false, features = ["serde", "shulkerbox"], rev = "a9a8aff13b0ad0986ee1bdf3d44b74676385dfcd" } +shulkerscript = { version = "0.1.0", default-features = false, features = ["serde", "shulkerbox"] } toml = "0.8.19" wasm-bindgen = "0.2.93" wee_alloc = { version = "0.4.5", optional = true }