mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
cleanup, fix warnings
This commit is contained in:
parent
b08d3d55d7
commit
8d110a9f7c
23 changed files with 208 additions and 208 deletions
|
@ -1,26 +1,26 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-auth"
|
name = "azalea-auth"
|
||||||
description = "A port of Mojang's Authlib and launcher authentication."
|
description = "A port of Mojang's Authlib and launcher authentication."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
||||||
azalea-crypto = { path = "../azalea-crypto", version = "0.11.0" }
|
azalea-crypto = { path = "../azalea-crypto", version = "0.11.0" }
|
||||||
base64 = { workspace = true }
|
base64.workspace = true
|
||||||
chrono = { workspace = true, features = ["serde"] }
|
chrono = { workspace = true, features = ["serde"] }
|
||||||
md-5 = { workspace = true }
|
md-5.workspace = true
|
||||||
reqwest = { workspace = true, features = ["json", "rustls-tls"] }
|
reqwest = { workspace = true, features = ["json", "rustls-tls"] }
|
||||||
rsa = { workspace = true }
|
rsa.workspace = true
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_json = { workspace = true }
|
serde_json.workspace = true
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tokio = { workspace = true, features = ["fs"] }
|
tokio = { workspace = true, features = ["fs"] }
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
uuid = { workspace = true, features = ["serde", "v3"] }
|
uuid = { workspace = true, features = ["serde", "v3"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = { workspace = true }
|
env_logger.workspace = true
|
||||||
tokio = { workspace = true, features = ["full"] }
|
tokio = { workspace = true, features = ["full"] }
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-block"
|
name = "azalea-block"
|
||||||
description = "Representation of Minecraft block states."
|
description = "Representation of Minecraft block states."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-block-macros = { path = "./azalea-block-macros", version = "0.11.0" }
|
azalea-block-macros = { path = "./azalea-block-macros", version = "0.11.0" }
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-block-macros"
|
name = "azalea-block-macros"
|
||||||
description = "Proc macros used by azalea-block."
|
description = "Proc macros used by azalea-block."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2.workspace = true
|
||||||
quote = { workspace = true }
|
quote.workspace = true
|
||||||
syn = { workspace = true }
|
syn.workspace = true
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-brigadier"
|
name = "azalea-brigadier"
|
||||||
description = "A port of Mojang's Brigadier command parsing and dispatching library."
|
description = "A port of Mojang's Brigadier command parsing and dispatching library."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy_app = { workspace = true }
|
bevy_app.workspace = true
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = { path = "../azalea-buf", version = "0.11.0", optional = true }
|
azalea-buf = { path = "../azalea-buf", version = "0.11.0", optional = true }
|
||||||
azalea-chat = { path = "../azalea-chat", version = "0.11.0", optional = true }
|
azalea-chat = { path = "../azalea-chat", version = "0.11.0", optional = true }
|
||||||
parking_lot = { workspace = true }
|
parking_lot.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
azalea-buf = ["dep:azalea-buf", "dep:azalea-chat", "azalea-chat/azalea-buf"]
|
azalea-buf = ["dep:azalea-buf", "dep:azalea-chat", "azalea-chat/azalea-buf"]
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-buf"
|
name = "azalea-buf"
|
||||||
description = "Serialize and deserialize buffers from Minecraft."
|
description = "Serialize and deserialize buffers from Minecraft."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf-macros = { path = "./azalea-buf-macros", version = "0.11.0" }
|
azalea-buf-macros = { path = "./azalea-buf-macros", version = "0.11.0" }
|
||||||
byteorder = { workspace = true }
|
byteorder.workspace = true
|
||||||
serde_json = { workspace = true, optional = true }
|
serde_json = { workspace = true, optional = true }
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde_json = ["dep:serde_json"]
|
serde_json = ["dep:serde_json"]
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-buf-macros"
|
name = "azalea-buf-macros"
|
||||||
description = "#[derive(AzBuf)]"
|
description = "#[derive(AzBuf)]"
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2.workspace = true
|
||||||
quote = { workspace = true }
|
quote.workspace = true
|
||||||
syn = { workspace = true, features = ["extra-traits"] }
|
syn = { workspace = true, features = ["extra-traits"] }
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-chat"
|
name = "azalea-chat"
|
||||||
description = "Parse Minecraft chat messages."
|
description = "Parse Minecraft chat messages."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
@ -19,6 +19,6 @@ azalea-buf = { path = "../azalea-buf", version = "0.11.0", optional = true, feat
|
||||||
azalea-language = { path = "../azalea-language", version = "0.11.0" }
|
azalea-language = { path = "../azalea-language", version = "0.11.0" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0", optional = true }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0", optional = true }
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_json = { workspace = true }
|
serde_json.workspace = true
|
||||||
simdnbt = { workspace = true, optional = true }
|
simdnbt = { workspace = true, optional = true }
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-client"
|
name = "azalea-client"
|
||||||
description = "A headless Minecraft client."
|
description = "A headless Minecraft client."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-auth = { path = "../azalea-auth", version = "0.11.0" }
|
azalea-auth = { path = "../azalea-auth", version = "0.11.0" }
|
||||||
|
@ -19,24 +19,24 @@ azalea-physics = { path = "../azalea-physics", version = "0.11.0" }
|
||||||
azalea-protocol = { path = "../azalea-protocol", version = "0.11.0" }
|
azalea-protocol = { path = "../azalea-protocol", version = "0.11.0" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
||||||
bevy_app = { workspace = true }
|
bevy_app.workspace = true
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
bevy_log = { workspace = true, optional = true }
|
bevy_log = { workspace = true, optional = true }
|
||||||
bevy_tasks = { workspace = true }
|
bevy_tasks.workspace = true
|
||||||
bevy_time = { workspace = true }
|
bevy_time.workspace = true
|
||||||
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
|
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
|
||||||
minecraft_folder_path = { workspace = true }
|
minecraft_folder_path.workspace = true
|
||||||
parking_lot = { workspace = true }
|
parking_lot.workspace = true
|
||||||
regex = { workspace = true }
|
regex.workspace = true
|
||||||
reqwest = { workspace = true }
|
reqwest.workspace = true
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tokio = { workspace = true, features = ["sync"] }
|
tokio = { workspace = true, features = ["sync"] }
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = { workspace = true }
|
anyhow.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["log"]
|
default = ["log"]
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-core"
|
name = "azalea-core"
|
||||||
description = "Miscellaneous things in Azalea."
|
description = "Miscellaneous things in Azalea."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
bevy_ecs = { workspace = true, optional = true }
|
bevy_ecs = { workspace = true, optional = true }
|
||||||
nohash-hasher = { workspace = true }
|
nohash-hasher.workspace = true
|
||||||
num-traits = { workspace = true }
|
num-traits.workspace = true
|
||||||
serde = { workspace = true, optional = true }
|
serde = { workspace = true, optional = true }
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
azalea-chat = { path = "../azalea-chat", version = "0.11.0" }
|
azalea-chat = { path = "../azalea-chat", version = "0.11.0" }
|
||||||
indexmap = { workspace = true }
|
indexmap.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
bevy_ecs = ["dep:bevy_ecs"]
|
bevy_ecs = ["dep:bevy_ecs"]
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-crypto"
|
name = "azalea-crypto"
|
||||||
description = "Cryptography features used in Minecraft."
|
description = "Cryptography features used in Minecraft."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = { workspace = true }
|
criterion.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
aes = { workspace = true }
|
aes.workspace = true
|
||||||
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
||||||
cfb8 = { workspace = true }
|
cfb8.workspace = true
|
||||||
num-bigint = { workspace = true }
|
num-bigint.workspace = true
|
||||||
rand = { workspace = true, features = ["getrandom"] }
|
rand = { workspace = true, features = ["getrandom"] }
|
||||||
rsa = { workspace = true, features = ["sha2"] }
|
rsa = { workspace = true, features = ["sha2"] }
|
||||||
rsa_public_encrypt_pkcs1 = { workspace = true }
|
rsa_public_encrypt_pkcs1.workspace = true
|
||||||
sha-1 = { workspace = true }
|
sha-1.workspace = true
|
||||||
sha2 = { workspace = true }
|
sha2.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
harness = false
|
harness = false
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-entity"
|
name = "azalea-entity"
|
||||||
description = "Things related to Minecraft entities used by Azalea"
|
description = "Things related to Minecraft entities used by Azalea"
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-block = { path = "../azalea-block", version = "0.11.0" }
|
azalea-block = { path = "../azalea-block", version = "0.11.0" }
|
||||||
|
@ -16,13 +16,13 @@ azalea-core = { path = "../azalea-core", version = "0.11.0" }
|
||||||
azalea-inventory = { path = "../azalea-inventory", version = "0.11.0" }
|
azalea-inventory = { path = "../azalea-inventory", version = "0.11.0" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
||||||
bevy_app = { workspace = true }
|
bevy_app.workspace = true
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
derive_more = { workspace = true }
|
derive_more.workspace = true
|
||||||
enum-as-inner = { workspace = true }
|
enum-as-inner.workspace = true
|
||||||
nohash-hasher = { workspace = true }
|
nohash-hasher.workspace = true
|
||||||
parking_lot = { workspace = true }
|
parking_lot.workspace = true
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
pub fn get_enchant_level(
|
pub fn _get_enchant_level(
|
||||||
_enchantment: azalea_registry::Enchantment,
|
_enchantment: azalea_registry::Enchantment,
|
||||||
_player_inventory: &azalea_inventory::Menu,
|
_player_inventory: &azalea_inventory::Menu,
|
||||||
) -> u32 {
|
) -> u32 {
|
||||||
|
|
|
@ -76,8 +76,8 @@ fn has_correct_tool_for_drops(block: &dyn Block, tool: registry::Item) -> bool {
|
||||||
fn destroy_speed(
|
fn destroy_speed(
|
||||||
block: registry::Block,
|
block: registry::Block,
|
||||||
tool: registry::Item,
|
tool: registry::Item,
|
||||||
player_inventory: &azalea_inventory::Menu,
|
_player_inventory: &azalea_inventory::Menu,
|
||||||
fluid_on_eyes: &FluidOnEyes,
|
_fluid_on_eyes: &FluidOnEyes,
|
||||||
physics: &Physics,
|
physics: &Physics,
|
||||||
) -> f32 {
|
) -> f32 {
|
||||||
let mut base_destroy_speed = base_destroy_speed(block, tool);
|
let mut base_destroy_speed = base_destroy_speed(block, tool);
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-inventory"
|
name = "azalea-inventory"
|
||||||
description = "Representations of various inventory data structures in Minecraft."
|
description = "Representations of various inventory data structures in Minecraft."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
||||||
|
@ -14,7 +14,7 @@ azalea-chat = { path = "../azalea-chat", version = "0.11.0", features = [
|
||||||
azalea-core = { path = "../azalea-core", version = "0.11.0" }
|
azalea-core = { path = "../azalea-core", version = "0.11.0" }
|
||||||
azalea-inventory-macros = { path = "./azalea-inventory-macros", version = "0.11.0" }
|
azalea-inventory-macros = { path = "./azalea-inventory-macros", version = "0.11.0" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
indexmap = { workspace = true }
|
indexmap.workspace = true
|
||||||
|
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-inventory-macros"
|
name = "azalea-inventory-macros"
|
||||||
description = "Internal macros for azalea-inventory."
|
description = "Internal macros for azalea-inventory."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2.workspace = true
|
||||||
quote = { workspace = true }
|
quote.workspace = true
|
||||||
syn = { workspace = true }
|
syn.workspace = true
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-language"
|
name = "azalea-language"
|
||||||
description = "Translate Minecraft strings from their id."
|
description = "Translate Minecraft strings from their id."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { workspace = true }
|
serde.workspace = true
|
||||||
serde_json = { workspace = true }
|
serde_json.workspace = true
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-physics"
|
name = "azalea-physics"
|
||||||
description = "Physics for Minecraft entities."
|
description = "Physics for Minecraft entities."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
bevy_time = { workspace = true }
|
bevy_time.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-block = { path = "../azalea-block", version = "0.11.0" }
|
azalea-block = { path = "../azalea-block", version = "0.11.0" }
|
||||||
|
@ -17,7 +17,7 @@ azalea-entity = { version = "0.11.0", path = "../azalea-entity" }
|
||||||
azalea-inventory = { version = "0.11.0", path = "../azalea-inventory" }
|
azalea-inventory = { version = "0.11.0", path = "../azalea-inventory" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
||||||
bevy_app = { workspace = true }
|
bevy_app.workspace = true
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
parking_lot = { workspace = true }
|
parking_lot.workspace = true
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-protocol"
|
name = "azalea-protocol"
|
||||||
description = "Send and receive Minecraft packets."
|
description = "Send and receive Minecraft packets."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
anyhow = { workspace = true }
|
anyhow.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
tracing-subscriber = { workspace = true }
|
tracing-subscriber.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-recursion = { workspace = true }
|
async-recursion.workspace = true
|
||||||
azalea-auth = { path = "../azalea-auth", version = "0.11.0" }
|
azalea-auth = { path = "../azalea-auth", version = "0.11.0" }
|
||||||
azalea-block = { path = "../azalea-block", version = "0.11.0", default-features = false }
|
azalea-block = { path = "../azalea-block", version = "0.11.0", default-features = false }
|
||||||
azalea-brigadier = { path = "../azalea-brigadier", version = "0.11.0", features = [
|
azalea-brigadier = { path = "../azalea-brigadier", version = "0.11.0", features = [
|
||||||
|
@ -32,22 +32,22 @@ azalea-inventory = { path = "../azalea-inventory", version = "0.11.0" }
|
||||||
azalea-protocol-macros = { path = "./azalea-protocol-macros", version = "0.11.0" }
|
azalea-protocol-macros = { path = "./azalea-protocol-macros", version = "0.11.0" }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
azalea-world = { path = "../azalea-world", version = "0.11.0" }
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
# byteorder = { workspace = true }
|
# byteorder.workspace = true
|
||||||
flate2 = { workspace = true }
|
flate2.workspace = true
|
||||||
futures = { workspace = true }
|
futures.workspace = true
|
||||||
futures-lite = { workspace = true }
|
futures-lite.workspace = true
|
||||||
# futures-util = { workspace = true }
|
# futures-util.workspace = true
|
||||||
serde = { workspace = true, features = ["serde_derive"] }
|
serde = { workspace = true, features = ["serde_derive"] }
|
||||||
serde_json = { workspace = true }
|
serde_json.workspace = true
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
socks5-impl = { workspace = true, features = ["client"] }
|
socks5-impl = { workspace = true, features = ["client"] }
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tokio = { workspace = true, features = ["io-util", "net", "macros"] }
|
tokio = { workspace = true, features = ["io-util", "net", "macros"] }
|
||||||
tokio-util = { workspace = true, features = ["codec"] }
|
tokio-util = { workspace = true, features = ["codec"] }
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
hickory-resolver = { workspace = true, features = ["tokio-runtime"] }
|
hickory-resolver = { workspace = true, features = ["tokio-runtime"] }
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
connecting = []
|
connecting = []
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-protocol-macros"
|
name = "azalea-protocol-macros"
|
||||||
description = "Macros internally used in azalea-protocol."
|
description = "Macros internally used in azalea-protocol."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = { workspace = true }
|
proc-macro2.workspace = true
|
||||||
quote = { workspace = true }
|
quote.workspace = true
|
||||||
syn = { workspace = true }
|
syn.workspace = true
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-registry"
|
name = "azalea-registry"
|
||||||
description = "Use Minecraft's registries."
|
description = "Use Minecraft's registries."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
azalea-buf = { path = "../azalea-buf", version = "0.11.0" }
|
||||||
azalea-registry-macros = { path = "./azalea-registry-macros", version = "0.11.0" }
|
azalea-registry-macros = { path = "./azalea-registry-macros", version = "0.11.0" }
|
||||||
serde = { workspace = true, optional = true, features = ["derive"] }
|
serde = { workspace = true, optional = true, features = ["derive"] }
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde = ["azalea-registry-macros/serde", "dep:serde"]
|
serde = ["azalea-registry-macros/serde", "dep:serde"]
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-registry-macros"
|
name = "azalea-registry-macros"
|
||||||
description = "Macros internally used in azalea-registry."
|
description = "Macros internally used in azalea-registry."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
#proc-macro2 = { workspace = true }
|
#proc-macro2.workspace = true
|
||||||
quote = { workspace = true }
|
quote.workspace = true
|
||||||
syn = { workspace = true }
|
syn.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
serde = []
|
serde = []
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea-world"
|
name = "azalea-world"
|
||||||
description = "The Minecraft world representation used in Azalea."
|
description = "The Minecraft world representation used in Azalea."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
azalea-client = { path = "../azalea-client" }
|
azalea-client = { path = "../azalea-client" }
|
||||||
|
@ -17,14 +17,14 @@ azalea-core = { path = "../azalea-core", version = "0.11.0", features = [
|
||||||
"bevy_ecs",
|
"bevy_ecs",
|
||||||
] }
|
] }
|
||||||
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
azalea-registry = { path = "../azalea-registry", version = "0.11.0" }
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
|
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
|
||||||
nohash-hasher = { workspace = true }
|
nohash-hasher.workspace = true
|
||||||
parking_lot = { workspace = true }
|
parking_lot.workspace = true
|
||||||
rustc-hash = { workspace = true }
|
rustc-hash.workspace = true
|
||||||
simdnbt = { workspace = true }
|
simdnbt.workspace = true
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "chunks"
|
name = "chunks"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "azalea"
|
name = "azalea"
|
||||||
description = "A framework for creating Minecraft bots."
|
description = "A framework for creating Minecraft bots."
|
||||||
version = { workspace = true }
|
version.workspace = true
|
||||||
edition = { workspace = true }
|
edition.workspace = true
|
||||||
license = { workspace = true }
|
license.workspace = true
|
||||||
repository = { workspace = true }
|
repository.workspace = true
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
pre-release-replacements = [
|
pre-release-replacements = [
|
||||||
|
@ -12,7 +12,7 @@ pre-release-replacements = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
#async-trait = { workspace = true }
|
#async-trait.workspace = true
|
||||||
azalea-auth = { version = "0.11.0", path = "../azalea-auth" }
|
azalea-auth = { version = "0.11.0", path = "../azalea-auth" }
|
||||||
azalea-block = { version = "0.11.0", path = "../azalea-block" }
|
azalea-block = { version = "0.11.0", path = "../azalea-block" }
|
||||||
azalea-brigadier = { version = "0.11.0", path = "../azalea-brigadier" }
|
azalea-brigadier = { version = "0.11.0", path = "../azalea-brigadier" }
|
||||||
|
@ -26,31 +26,31 @@ azalea-physics = { version = "0.11.0", path = "../azalea-physics" }
|
||||||
azalea-protocol = { version = "0.11.0", path = "../azalea-protocol" }
|
azalea-protocol = { version = "0.11.0", path = "../azalea-protocol" }
|
||||||
azalea-registry = { version = "0.11.0", path = "../azalea-registry" }
|
azalea-registry = { version = "0.11.0", path = "../azalea-registry" }
|
||||||
azalea-world = { version = "0.11.0", path = "../azalea-world" }
|
azalea-world = { version = "0.11.0", path = "../azalea-world" }
|
||||||
bevy_app = { workspace = true }
|
bevy_app.workspace = true
|
||||||
bevy_ecs = { workspace = true }
|
bevy_ecs.workspace = true
|
||||||
bevy_log = { workspace = true }
|
bevy_log.workspace = true
|
||||||
bevy_tasks = { workspace = true, features = ["multi_threaded"] }
|
bevy_tasks = { workspace = true, features = ["multi_threaded"] }
|
||||||
# bevy_time = { workspace = true }
|
# bevy_time.workspace = true
|
||||||
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
|
derive_more = { workspace = true, features = ["deref", "deref_mut"] }
|
||||||
futures = { workspace = true }
|
futures.workspace = true
|
||||||
futures-lite = { workspace = true }
|
futures-lite.workspace = true
|
||||||
indexmap = { workspace = true }
|
indexmap.workspace = true
|
||||||
nohash-hasher = { workspace = true }
|
nohash-hasher.workspace = true
|
||||||
num-format = { workspace = true }
|
num-format.workspace = true
|
||||||
num-traits = { workspace = true }
|
num-traits.workspace = true
|
||||||
parking_lot = { workspace = true }
|
parking_lot.workspace = true
|
||||||
rustc-hash = { workspace = true }
|
rustc-hash.workspace = true
|
||||||
serde = { workspace = true, optional = true }
|
serde = { workspace = true, optional = true }
|
||||||
thiserror = { workspace = true }
|
thiserror.workspace = true
|
||||||
tokio = { workspace = true }
|
tokio.workspace = true
|
||||||
tracing = { workspace = true }
|
tracing.workspace = true
|
||||||
uuid = { workspace = true }
|
uuid.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = { workspace = true }
|
criterion.workspace = true
|
||||||
parking_lot = { workspace = true, features = ["deadlock_detection"] }
|
parking_lot = { workspace = true, features = ["deadlock_detection"] }
|
||||||
rand = { workspace = true }
|
rand.workspace = true
|
||||||
anyhow = { workspace = true }
|
anyhow.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["log", "serde"]
|
default = ["log", "serde"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue