From 8263d886ce9acfd02f7c6a41c64bcca93eeb83f5 Mon Sep 17 00:00:00 2001 From: Luk-ESC Date: Wed, 21 Aug 2024 12:31:12 +0200 Subject: [PATCH] move uuid to workspace --- Cargo.toml | 1 + pumpkin-protocol/Cargo.toml | 2 +- pumpkin-text/Cargo.toml | 2 +- pumpkin/Cargo.toml | 3 +-- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 55d43289e..c6564f7a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,4 @@ codegen-units = 1 [workspace.dependencies] tokio = { version = "1.39.2", features = ["net", "macros", "rt-multi-thread", "fs", "io-util", "sync"] } rayon = "1.10.0" +uuid = { version = "1.10.0", features = ["serde", "v3"] } diff --git a/pumpkin-protocol/Cargo.toml b/pumpkin-protocol/Cargo.toml index 27c0c6566..e9805fecb 100644 --- a/pumpkin-protocol/Cargo.toml +++ b/pumpkin-protocol/Cargo.toml @@ -10,7 +10,7 @@ pumpkin-text = { path = "../pumpkin-text" } bytes = "1.7" -uuid = "1.10" +uuid.workspace = true serde = { version = "1.0", features = ["derive"] } # to parse strings to json responses diff --git a/pumpkin-text/Cargo.toml b/pumpkin-text/Cargo.toml index d687a00b6..727d06ccd 100644 --- a/pumpkin-text/Cargo.toml +++ b/pumpkin-text/Cargo.toml @@ -6,4 +6,4 @@ edition.workspace = true [dependencies] serde = { version = "1.0", features = ["derive"] } fastnbt = { git = "https://github.com/owengage/fastnbt.git" } -uuid = "1.10" +uuid.workspace = true diff --git a/pumpkin/Cargo.toml b/pumpkin/Cargo.toml index 3085385ea..bbbced5c3 100644 --- a/pumpkin/Cargo.toml +++ b/pumpkin/Cargo.toml @@ -61,7 +61,6 @@ log = "0.4" mio = { version = "1.0.1", features = ["os-poll", "net"]} crossbeam-channel = "0.5.13" -uuid = { version = "1.10", features = ["serde", "v3"]} - +uuid.workspace = true tokio.workspace = true rayon.workspace = true