change from git to crates.io dependency, add vs code extension

This commit is contained in:
Moritz Hölting 2024-10-01 12:12:38 +02:00
parent b3677165ce
commit fe286a3609
3 changed files with 9 additions and 3 deletions

View File

@ -83,6 +83,10 @@ This method takes the longest. If you have no reason to build from source, you m
``` ```
</Steps> </Steps>
## 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 ## Creating a new project
<Steps> <Steps>
1. Create a new directory for your project. 1. Create a new directory for your project.

View File

@ -497,7 +497,8 @@ dependencies = [
[[package]] [[package]]
name = "shulkerbox" name = "shulkerbox"
version = "0.1.0" 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 = [ dependencies = [
"chksum-md5", "chksum-md5",
"getset", "getset",
@ -509,7 +510,8 @@ dependencies = [
[[package]] [[package]]
name = "shulkerscript" name = "shulkerscript"
version = "0.1.0" 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 = [ dependencies = [
"chksum-md5", "chksum-md5",
"colored", "colored",

View File

@ -23,7 +23,7 @@ colored = "2.1.0"
console_error_panic_hook = "0.1.7" console_error_panic_hook = "0.1.7"
serde = "1.0" serde = "1.0"
serde-wasm-bindgen = "0.6.5" 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" toml = "0.8.19"
wasm-bindgen = "0.2.93" wasm-bindgen = "0.2.93"
wee_alloc = { version = "0.4.5", optional = true } wee_alloc = { version = "0.4.5", optional = true }