# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "azalea-client"
version = "0.16.0+mc26.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A headless Minecraft client."
readme = "README.md"
license = "MIT"
repository = "https://github.com/azalea-rs/azalea"

[features]
default = [
    "log",
    "packet-event",
    "online-mode",
]
log = ["bevy_log"]
online-mode = [
    "azalea-auth/online-mode",
    "azalea-protocol/online-mode",
    "dep:reqwest",
]
packet-event = []

[lib]
name = "azalea_client"
path = "src/lib.rs"

[[test]]
name = "main"
path = "tests/main.rs"

[dependencies.async-compat]
version = "0.2.5"

[dependencies.azalea-auth]
version = "0.16.0"
default-features = false

[dependencies.azalea-block]
version = "0.16.0"
default-features = false

[dependencies.azalea-buf]
version = "0.16.0"
default-features = false

[dependencies.azalea-chat]
version = "0.16.0"
default-features = false

[dependencies.azalea-core]
version = "0.16.0"
default-features = false

[dependencies.azalea-crypto]
version = "0.16.0"
default-features = false

[dependencies.azalea-entity]
version = "0.16.0"
default-features = false

[dependencies.azalea-inventory]
version = "0.16.0"
default-features = false

[dependencies.azalea-physics]
version = "0.16.0"
default-features = false

[dependencies.azalea-protocol]
version = "0.16.0"
features = [
    "connecting",
    "bevy_ecs",
]
default-features = false

[dependencies.azalea-registry]
version = "0.16.0"
default-features = false

[dependencies.azalea-world]
version = "0.16.0"
default-features = false

[dependencies.bevy_app]
version = "0.18.1"

[dependencies.bevy_ecs]
version = "0.18.1"
features = ["multi_threaded"]
default-features = false

[dependencies.bevy_log]
version = "0.18.1"
optional = true

[dependencies.bevy_tasks]
version = "0.18.1"

[dependencies.bevy_time]
version = "0.18.1"

[dependencies.bevy_utils]
version = "0.18.1"
features = ["debug"]
default-features = false

[dependencies.chrono]
version = "0.4.44"
features = ["now"]
default-features = false

[dependencies.derive_more]
version = "2.1.1"
features = [
    "deref",
    "deref_mut",
]

[dependencies.indexmap]
version = "2.13.0"

[dependencies.minecraft_folder_path]
version = "0.1.2"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13.2"
features = ["socks"]
optional = true
default-features = false

[dependencies.simdnbt]
version = "0.10.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.50.0"
features = ["sync"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.22.0"

[dev-dependencies.eyre]
version = "0.6.12"

[lints.clippy]
str_to_string = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs_dep)"]
