aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-12-09 15:31:59 +0000
committerUbuntu <github@matdoes.dev>2022-12-09 15:31:59 +0000
commitd11d413a897d8d6dd5ca980c6563023a3cf6247d (patch)
tree43db0150898c1c83e988f00e43fe2851e3091417
parent89c29b7a19ca3a0cd1ee12149519292052f0ae17 (diff)
downloadazalea-drasl-d11d413a897d8d6dd5ca980c6563023a3cf6247d.tar.xz
auto replace version in azalea/src/lib.rs
-rw-r--r--azalea/Cargo.toml19
-rw-r--r--azalea/src/lib.rs2
2 files changed, 12 insertions, 9 deletions
diff --git a/azalea/Cargo.toml b/azalea/Cargo.toml
index 498306dc..9cb30d62 100644
--- a/azalea/Cargo.toml
+++ b/azalea/Cargo.toml
@@ -6,23 +6,26 @@ name = "azalea"
repository = "https://github.com/mat-1/azalea/tree/main/azalea"
version = "0.4.0"
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[package.metadata.release]
+pre-release-replacements = [
+ { file = "src/lib.rs", search = "//! `azalea = \"[a-z0-9\\.-]+\"`", replace = "//! `azalea = \"{{version}}\"`" },
+]
[dependencies]
anyhow = "^1.0.65"
async-trait = "0.1.58"
-azalea-block = {version = "0.4.0", path = "../azalea-block"}
+azalea-block = { version = "0.4.0", path = "../azalea-block" }
azalea-chat = { version = "0.4.0", path = "../azalea-chat" }
-azalea-client = {version = "0.4.0", path = "../azalea-client"}
-azalea-core = {version = "0.4.0", path = "../azalea-core"}
-azalea-physics = {version = "0.4.0", path = "../azalea-physics"}
-azalea-protocol = {version = "0.4.0", path = "../azalea-protocol"}
-azalea-world = {version = "0.4.0", path = "../azalea-world"}
+azalea-client = { version = "0.4.0", path = "../azalea-client" }
+azalea-core = { version = "0.4.0", path = "../azalea-core" }
+azalea-physics = { version = "0.4.0", path = "../azalea-physics" }
+azalea-protocol = { version = "0.4.0", path = "../azalea-protocol" }
+azalea-world = { version = "0.4.0", path = "../azalea-world" }
futures = "0.3.25"
log = "0.4.17"
nohash-hasher = "0.2.0"
num-traits = "0.2.15"
-parking_lot = {version = "^0.12.1", features = ["deadlock_detection"]}
+parking_lot = { version = "^0.12.1", features = ["deadlock_detection"] }
priority-queue = "1.3.0"
thiserror = "^1.0.37"
tokio = "^1.21.2"
diff --git a/azalea/src/lib.rs b/azalea/src/lib.rs
index 7388ec14..e705f7b6 100644
--- a/azalea/src/lib.rs
+++ b/azalea/src/lib.rs
@@ -15,7 +15,7 @@
//! Latest bleeding-edge version:
//! `azalea = { git="https://github.com/mat-1/Cargo.toml" }`\
//! Latest "stable" release:
-//! `azalea = "0.6"`
+//! `azalea = "0.4"`
//!
//! ## Optimization
//!