1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
azalea/azalea-protocol/Cargo.toml
mat 7405427199
Mining (#95)
* more mining stuff

* initialize azalea-tags crate

* more mining stuff 2

* mining in ecs

* well technically mining works but

no codegen for how long it takes to mine each block yet

* rename downloads to __cache__

it was bothering me since it's not *just* downloads

* codegen block behavior

* fix not sending packet to finish breaking block

* mining animation 🎉

* clippy

* cleanup, move Client::mine into a client extension

* add azalea/src/mining.rs

---------

Co-authored-by: mat <git@matdoes.dev>
2023-07-14 22:20:40 -05:00

63 lines
2.2 KiB
TOML

[package]
description = "Send and receive Minecraft packets."
edition = "2021"
license = "MIT"
name = "azalea-protocol"
repository = "https://github.com/mat-1/azalea/tree/main/azalea-protocol"
version = "0.7.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-compression = { version = "^0.4.0", features = [
"tokio",
"zlib",
], optional = true }
async-recursion = "1.0.4"
azalea-auth = { path = "../azalea-auth", version = "^0.7.0" }
azalea-block = { path = "../azalea-block", default-features = false, version = "^0.7.0" }
azalea-brigadier = { path = "../azalea-brigadier", version = "^0.7.0", features = [
"azalea-buf",
] }
azalea-buf = { path = "../azalea-buf", version = "^0.7.0" }
azalea-chat = { path = "../azalea-chat", version = "^0.7.0" }
azalea-core = { path = "../azalea-core", optional = true, version = "^0.7.0", features = [
"serde",
] }
azalea-crypto = { path = "../azalea-crypto", version = "^0.7.0" }
azalea-entity = { version = "0.1.0", path = "../azalea-entity" }
azalea-inventory = { version = "0.7.0", path = "../azalea-inventory" }
azalea-nbt = { path = "../azalea-nbt", version = "^0.7.0", features = [
"serde",
] }
azalea-protocol-macros = { path = "./azalea-protocol-macros", version = "^0.7.0" }
azalea-registry = { path = "../azalea-registry", version = "^0.7.0" }
azalea-world = { path = "../azalea-world", version = "^0.7.0" }
bevy_ecs = { version = "0.11.0", default-features = false }
byteorder = "^1.4.3"
bytes = "^1.4.0"
flate2 = "1.0.26"
futures = "0.3.28"
futures-util = "0.3.28"
log = "0.4.19"
serde = { version = "^1.0", features = ["serde_derive"] }
serde_json = "^1.0.100"
thiserror = "1.0.43"
tokio = { version = "^1.29.1", features = ["io-util", "net", "macros"] }
tokio-util = { version = "0.7.8", features = ["codec"] }
trust-dns-resolver = { version = "^0.22.0", default-features = false, features = [
"tokio-runtime",
] }
uuid = "1.4.0"
[features]
connecting = []
default = ["packets"]
packets = ["connecting", "dep:async-compression", "dep:azalea-core"]
strict_registry = ["packets"]
[dev-dependencies]
anyhow = "^1.0.71"
tracing = "^0.1.37"
tracing-subscriber = "^0.3.17"
once_cell = "1.18.0"