From d26b7e94ffa02b9b8d20cebc08b2bd85965ae6b9 Mon Sep 17 00:00:00 2001 From: Alexander Medvedev Date: Fri, 4 Sep 2026 22:21:31 +0200 Subject: [PATCH] update rust --- docs/en/plugin-dev/rust/creating-project.md | 6 +++--- docs/en/plugin-dev/rust/plugin-utils.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/plugin-dev/rust/creating-project.md b/docs/en/plugin-dev/rust/creating-project.md index f99ad56..40e6be5 100644 --- a/docs/en/plugin-dev/rust/creating-project.md +++ b/docs/en/plugin-dev/rust/creating-project.md @@ -59,7 +59,7 @@ crate-type = ["cdylib"] ::: -Next we need to add some basic dependencies. Since Pumpkin is still in early development, the internal crates aren't published to crates.io, so we need to tell Cargo to download the dependencies directly from GitHub. +Next we need to add some basic dependencies from [crates.io](https://crates.io): :::code-group ```toml [Cargo.toml] @@ -74,9 +74,9 @@ crate-type = ["cdylib"] [dependencies] // [!code ++:5] # This is the api crate that makes creating plugins easier, and has wit definitions -pumpkin-plugin-api = { version = "0.1.0", git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-plugin-api" } +pumpkin-plugin-api = "0.1.0-dev+26.2-26.45" # Optional: utilities for marketplace licensing and update checking -pumpkin-plugin-utils = { version = "0.1.0", git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-plugin-utils" } +pumpkin-plugin-utils = "0.1.0-dev+26.2-26.45" tracing = "0.1" ``` diff --git a/docs/en/plugin-dev/rust/plugin-utils.md b/docs/en/plugin-dev/rust/plugin-utils.md index f40488e..3adfbbe 100644 --- a/docs/en/plugin-dev/rust/plugin-utils.md +++ b/docs/en/plugin-dev/rust/plugin-utils.md @@ -29,8 +29,8 @@ edition = "2024" crate-type = ["cdylib"] [dependencies] -pumpkin-plugin-api = { version = "0.1.0", git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-plugin-api" } -pumpkin-plugin-utils = { version = "0.1.0", git = "https://github.com/Pumpkin-MC/Pumpkin", package = "pumpkin-plugin-utils" } +pumpkin-plugin-api = "0.1.0-dev+26.2-26.45" +pumpkin-plugin-utils = "0.1.0-dev+26.2-26.45" tracing = "0.1" ```