From fdd6322b544a5e45e0e79e22dea21b0c871ecb98 Mon Sep 17 00:00:00 2001 From: suprohub Date: Thu, 30 Jan 2025 14:37:36 +0400 Subject: [PATCH] Consider not specify patch version --- Cargo.toml | 14 +++++++------ pumpkin-api-macros/Cargo.toml | 6 +++--- pumpkin-data/Cargo.toml | 2 +- pumpkin-nbt/Cargo.toml | 3 ++- pumpkin-protocol/Cargo.toml | 6 +++--- pumpkin-registry/Cargo.toml | 2 +- pumpkin-util/Cargo.toml | 4 ++-- pumpkin-world/Cargo.toml | 19 +++++++++--------- pumpkin/Cargo.toml | 37 +++++++++++++++++------------------ 9 files changed, 47 insertions(+), 46 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d48b915a0..63efc4ef1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,16 +41,18 @@ tokio = { version = "1.43", features = [ "signal", ] } -thiserror = "2" +thiserror = "2.0" bytes = "1.9" # Concurrency/Parallelism and Synchronization -rayon = "1.10.0" -parking_lot = { version = "0.12.3", features = ["send_guard"] } -crossbeam = "0.8.4" +rayon = "1.10" +parking_lot = { version = "0.12", features = ["send_guard"] } +crossbeam = "0.8" -uuid = { version = "1.12.1", features = ["serde", "v3", "v4"] } -derive_more = { version = "1.0.0", features = ["full"] } +uuid = { version = "1.12", features = ["serde", "v3", "v4"] } +derive_more = { version = "1.0", features = ["full"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" + +async-trait = "0.1" diff --git a/pumpkin-api-macros/Cargo.toml b/pumpkin-api-macros/Cargo.toml index 6c0d4bcc8..132835790 100644 --- a/pumpkin-api-macros/Cargo.toml +++ b/pumpkin-api-macros/Cargo.toml @@ -7,6 +7,6 @@ edition.workspace = true proc-macro = true [dependencies] -syn = { version = "2.0.89", features = ["full"] } -quote = "1.0.37" -proc-macro2 = "1.0.92" \ No newline at end of file +syn = { version = "2.0", features = ["full"] } +quote = "1.0" +proc-macro2 = "1.0" \ No newline at end of file diff --git a/pumpkin-data/Cargo.toml b/pumpkin-data/Cargo.toml index f9c83cccd..b7d1b229c 100644 --- a/pumpkin-data/Cargo.toml +++ b/pumpkin-data/Cargo.toml @@ -13,7 +13,7 @@ pumpkin-util = { path = "../pumpkin-util" } serde.workspace = true serde_json.workspace = true -heck = "0.5.0" +heck = "0.5" proc-macro2 = "1.0" quote = "1.0" syn = "2.0" \ No newline at end of file diff --git a/pumpkin-nbt/Cargo.toml b/pumpkin-nbt/Cargo.toml index a25b7a2fa..d9eaa8c7a 100644 --- a/pumpkin-nbt/Cargo.toml +++ b/pumpkin-nbt/Cargo.toml @@ -7,4 +7,5 @@ edition.workspace = true serde.workspace = true thiserror.workspace = true bytes.workspace = true -cesu8 = "1.1.0" + +cesu8 = "1.1" diff --git a/pumpkin-protocol/Cargo.toml b/pumpkin-protocol/Cargo.toml index 8c936c529..74a6606bf 100644 --- a/pumpkin-protocol/Cargo.toml +++ b/pumpkin-protocol/Cargo.toml @@ -25,8 +25,8 @@ tokio.workspace = true bytes.workspace = true # encryption -aes = "0.8.4" -cfb8 = "0.8.1" +aes = "0.8" +cfb8 = "0.8" # compression -libdeflater = "1.23.0" \ No newline at end of file +libdeflater = "1.23" \ No newline at end of file diff --git a/pumpkin-registry/Cargo.toml b/pumpkin-registry/Cargo.toml index ca74857a4..e227698b8 100644 --- a/pumpkin-registry/Cargo.toml +++ b/pumpkin-registry/Cargo.toml @@ -8,7 +8,7 @@ pumpkin-protocol = { path = "../pumpkin-protocol" } pumpkin-nbt = { path = "../pumpkin-nbt" } pumpkin-util = { path = "../pumpkin-util" } -indexmap = { version = "2.7.1", features = ["serde"] } +indexmap = { version = "2.7", features = ["serde"] } serde.workspace = true serde_json.workspace = true diff --git a/pumpkin-util/Cargo.toml b/pumpkin-util/Cargo.toml index 33e88fba8..0cb0be940 100644 --- a/pumpkin-util/Cargo.toml +++ b/pumpkin-util/Cargo.toml @@ -12,5 +12,5 @@ uuid.workspace = true num-traits = "0.2" -colored = "3" -md5 = "0.7.0" +colored = "3.0" +md5 = "0.7" diff --git a/pumpkin-world/Cargo.toml b/pumpkin-world/Cargo.toml index 36750d444..5cc39fcb6 100644 --- a/pumpkin-world/Cargo.toml +++ b/pumpkin-world/Cargo.toml @@ -21,29 +21,28 @@ serde.workspace = true serde_json.workspace = true log.workspace = true -num-derive = "0.4.2" +num-derive = "0.4" -dashmap = "6.1.0" +dashmap = "6.1" num-traits = "0.2" # Compression flate2 = "1.0" -lz4 = "1.28.1" +lz4 = "1.28" -file-guard = "0.2.0" -indexmap = "2.7.1" +file-guard = "0.2" +indexmap = "2.7" -enum_dispatch = "0.3.13" +enum_dispatch = "0.3" fastnbt = { git = "https://github.com/owengage/fastnbt.git" } -noise = "0.9.0" - -rand = "0.8.5" +noise = "0.9" +rand = "0.8" [dev-dependencies] -criterion = { version = "0.5.1", features = ["html_reports"] } +criterion = { version = "0.5", features = ["html_reports"] } [[bench]] name = "chunk_noise" diff --git a/pumpkin/Cargo.toml b/pumpkin/Cargo.toml index 4856e4d1a..07ce10914 100644 --- a/pumpkin/Cargo.toml +++ b/pumpkin/Cargo.toml @@ -33,6 +33,7 @@ uuid.workspace = true tokio.workspace = true rayon.workspace = true thiserror.workspace = true +async-trait.workspace = true # config serde.workspace = true @@ -40,50 +41,48 @@ serde_json.workspace = true bytes.workspace = true -rand = "0.8.5" +rand = "0.8" num-bigint = "0.4" # Console line reading -rustyline = "15.0.0" +rustyline = "15.0" # encryption -rsa = "0.9.7" -rsa-der = "0.3.0" +rsa = "0.9" +rsa-der = "0.3" # authentication -reqwest = { version = "0.12.12", default-features = false, features = [ +reqwest = { version = "0.12", default-features = false, features = [ "http2", "json", "macos-system-configuration", "rustls-tls", ] } -sha1 = "0.10.6" +sha1 = "0.10" # velocity en -hmac = "0.12.1" -sha2 = "0.10.8" +hmac = "0.12" +sha2 = "0.10" -base64 = "0.22.1" +base64 = "0.22" # icon loading -png = "0.17.16" +png = "0.17" # logging -simple_logger = { version = "5.0.0", features = ["threads"] } +simple_logger = { version = "5.0", features = ["threads"] } # Remove time in favor of chrono? -time = "0.3.37" +time = "0.3" -chrono = { version = "0.4.39", features = ["serde"]} - -# commands -async-trait = "0.1.85" +chrono = { version = "0.4", features = ["serde"]} # plugins -libloading = "0.8.6" +libloading = "0.8" + [build-dependencies] -git-version = "0.3.9" +git-version = "0.3" # This makes it so the entire project doesn't recompile on each build on linux. [target.'cfg(target_os = "windows")'.build-dependencies] -tauri-winres= "0.2.0" +tauri-winres= "0.3"