ghast-client 0.2.1

Headless Minecraft Java Edition client for the ghast library: connection, login, fixed 50 ms tick loop and a version-agnostic bot API (1.8.9 and 1.16.5)
Documentation
# 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"
rust-version = "1.89"
name = "ghast-client"
version = "0.2.1"
authors = ["Crefax"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless Minecraft Java Edition client for the ghast library: connection, login, fixed 50 ms tick loop and a version-agnostic bot API (1.8.9 and 1.16.5)"
homepage = "https://github.com/Crefax/Ghast"
documentation = "https://docs.rs/ghast-client"
readme = "README.md"
keywords = [
    "minecraft",
    "bot",
    "client",
    "headless",
]
categories = [
    "game-development",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Crefax/Ghast"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
microsoft = ["ghast-auth/microsoft"]

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

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

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

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

[dependencies.bytes]
version = "1.12"

[dependencies.ghast-auth]
version = "0.2.1"

[dependencies.ghast-data]
version = "0.2.1"
features = [
    "v1_8",
    "v1_16_5",
]
default-features = false

[dependencies.ghast-entity]
version = "0.2.1"

[dependencies.ghast-inventory]
version = "0.2.1"

[dependencies.ghast-physics]
version = "0.2.1"

[dependencies.ghast-protocol]
version = "0.2.1"
features = [
    "v1_8",
    "v1_16_5",
    "tokio",
    "libdeflate",
    "chat-json",
]
default-features = false

[dependencies.ghast-world]
version = "0.2.1"
features = [
    "v1_8",
    "v1_16_5",
    "physics",
]
default-features = false

[dependencies.log]
version = "0.4.29"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.54"
features = [
    "net",
    "io-util",
    "time",
    "macros",
    "rt",
]
default-features = false

[dependencies.uuid]
version = "1"

[dev-dependencies.flate2]
version = "1.1.10"
features = ["zlib-rs"]
default-features = false

[dev-dependencies.ghast-data]
version = "0.2.1"

[dev-dependencies.ghast-protocol]
version = "0.2.1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1.54"
features = [
    "net",
    "io-util",
    "time",
    "macros",
    "rt",
    "rt-multi-thread",
    "test-util",
]
default-features = false