diff --git a/Cargo.lock b/Cargo.lock index bb44370c4..1c1cbac2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1493,15 +1493,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "memoffset" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -dependencies = [ - "autocfg", -] - [[package]] name = "mime" version = "0.3.17" @@ -2005,7 +1996,6 @@ dependencies = [ "rayon", "serde", "serde_json", - "speedy", "static_assertions", "thiserror", "tokio", @@ -2577,27 +2567,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "speedy" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da1992073f0e55aab599f4483c460598219b4f9ff0affa124b33580ab511e25a" -dependencies = [ - "memoffset", - "speedy-derive", -] - -[[package]] -name = "speedy-derive" -version = "0.8.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658f2ca5276b92c3dfd65fa88316b4e032ace68f88d7570b43967784c0bac5ac" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "spin" version = "0.9.8" diff --git a/Cargo.toml b/Cargo.toml index 0c9f0bec1..38d79ccf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,6 @@ tokio = { version = "1.40", features = [ "io-util", "sync", ] } -speedy = "0.8.7" rayon = "1.10.0" uuid = { version = "1.10.0", features = ["serde", "v3", "v4"] } derive_more = { version = "1.0.0", features = ["full"] } diff --git a/pumpkin-world/Cargo.toml b/pumpkin-world/Cargo.toml index 98e915000..90be69d5c 100644 --- a/pumpkin-world/Cargo.toml +++ b/pumpkin-world/Cargo.toml @@ -7,7 +7,6 @@ edition.workspace = true pumpkin-core = { path = "../pumpkin-core"} fastnbt = { git = "https://github.com/owengage/fastnbt.git" } -speedy.workspace = true tokio.workspace = true rayon.workspace = true derive_more.workspace = true diff --git a/pumpkin-world/src/chunk.rs b/pumpkin-world/src/chunk.rs index 08e87bf47..6bbdb2210 100644 --- a/pumpkin-world/src/chunk.rs +++ b/pumpkin-world/src/chunk.rs @@ -175,31 +175,31 @@ struct ChunkSection { #[repr(u32)] enum ChunkStatus { #[serde(rename = "minecraft:empty")] - Empty = 0, + Empty, #[serde(rename = "minecraft:structure_starts")] - StructureStarts = 1, + StructureStarts, #[serde(rename = "minecraft:structure_references")] - StructureReferences = 2, + StructureReferences, #[serde(rename = "minecraft:biomes")] - Biomes = 3, + Biomes, #[serde(rename = "minecraft:noise")] - Noise = 4, + Noise, #[serde(rename = "minecraft:surface")] - Surface = 5, + Surface, #[serde(rename = "minecraft:carvers")] - Carvers = 6, + Carvers, #[serde(rename = "minecraft:liquid_carvers")] - LiquidCarvers = 7, + LiquidCarvers, #[serde(rename = "minecraft:features")] - Features = 8, + Features, #[serde(rename = "minecraft:initialize_light")] - Light = 9, + Light, #[serde(rename = "minecraft:spawn")] - Spawn = 10, + Spawn, #[serde(rename = "minecraft:heightmaps")] - Heightmaps = 11, + Heightmaps, #[serde(rename = "minecraft:full")] - Full = 12, + Full, } /// The Heightmap for a completely empty chunk