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 //!