ghast 0.5.6

Headless Minecraft Java Edition client / bot library (1.8.9, 1.12.2, 1.16.5, 26.1, 26.2 and 26.3) with vanilla-exact behaviour: facade crate re-exporting the ghast-* crates
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"
version = "0.5.6"
authors = ["Crefax"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless Minecraft Java Edition client / bot library (1.8.9, 1.12.2, 1.16.5, 26.1, 26.2 and 26.3) with vanilla-exact behaviour: facade crate re-exporting the ghast-* crates"
documentation = "https://docs.rs/ghast"
readme = "README.md"
keywords = [
    "minecraft",
    "bot",
    "client",
    "headless",
    "protocol",
]
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 = [
    "v1_8",
    "v1_12_2",
    "v1_16_5",
    "v26_1",
    "v26_2",
    "v26_3",
    "libdeflate",
    "display-names",
]
display-names = [
    "ghast-client/display-names",
    "ghast-data/display-names",
]
ext = ["dep:ghast-ext"]
libdeflate = ["ghast-client/libdeflate"]
microsoft = [
    "ghast-client/microsoft",
    "ghast-auth/microsoft",
]
pathfinder = [
    "dep:ghast-pathfinder",
    "ghast-ext?/pathfinder",
]
v1_12_2 = [
    "ghast-client/v1_12_2",
    "ghast-protocol/v1_12_2",
    "ghast-data/v1_12",
    "ghast-ext?/v1_12_2",
    "ghast-pathfinder?/v1_12_2",
]
v1_16_5 = [
    "ghast-client/v1_16_5",
    "ghast-protocol/v1_16_5",
    "ghast-data/v1_16_5",
    "ghast-ext?/v1_16_5",
    "ghast-pathfinder?/v1_16_5",
]
v1_8 = [
    "ghast-client/v1_8",
    "ghast-protocol/v1_8",
    "ghast-data/v1_8",
    "ghast-ext?/v1_8",
    "ghast-pathfinder?/v1_8",
]
v26_1 = [
    "ghast-client/v26_1",
    "ghast-protocol/v26_1",
    "ghast-data/v26_1",
    "ghast-ext?/v26_1",
    "ghast-pathfinder?/v26_1",
    "ghast-viewer?/v26_1",
]
v26_2 = [
    "ghast-client/v26_2",
    "ghast-protocol/v26_2",
    "ghast-data/v26_2",
    "ghast-ext?/v26_2",
    "ghast-pathfinder?/v26_2",
    "ghast-viewer?/v26_2",
]
v26_3 = [
    "ghast-client/v26_3",
    "ghast-protocol/v26_3",
    "ghast-data/v26_3",
    "ghast-ext?/v26_3",
    "ghast-pathfinder?/v26_3",
    "ghast-viewer?/v26_3",
]
viewer = ["dep:ghast-viewer"]

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

[[example]]
name = "afk"
path = "examples/afk.rs"

[[example]]
name = "attack"
path = "examples/attack.rs"

[[example]]
name = "block_probe"
path = "examples/block_probe.rs"
required-features = [
    "v1_8",
    "v1_12_2",
    "v1_16_5",
    "v26_1",
    "v26_2",
]

[[example]]
name = "chat"
path = "examples/chat.rs"

[[example]]
name = "combat_probe"
path = "examples/combat_probe.rs"

[[example]]
name = "creative_probe"
path = "examples/creative_probe.rs"
required-features = ["v26_1"]

[[example]]
name = "dialog"
path = "examples/dialog.rs"

[[example]]
name = "dig_place"
path = "examples/dig_place.rs"

[[example]]
name = "dimension_tour"
path = "examples/dimension_tour.rs"

[[example]]
name = "elytra_flight"
path = "examples/elytra_flight.rs"

[[example]]
name = "entity_probe"
path = "examples/entity_probe.rs"
required-features = ["v26_1"]

[[example]]
name = "fishing"
path = "examples/fishing.rs"
required-features = ["ext"]

[[example]]
name = "goto"
path = "examples/goto.rs"
required-features = [
    "ext",
    "pathfinder",
]

[[example]]
name = "hud"
path = "examples/hud.rs"
required-features = ["ext"]

[[example]]
name = "inventory_probe"
path = "examples/inventory_probe.rs"

[[example]]
name = "item_frame"
path = "examples/item_frame.rs"
required-features = ["ext"]

[[example]]
name = "menu_probe"
path = "examples/menu_probe.rs"

[[example]]
name = "movement_course"
path = "examples/movement_course.rs"

[[example]]
name = "online_chat"
path = "examples/online_chat.rs"
required-features = ["microsoft"]

[[example]]
name = "piston_probe"
path = "examples/piston_probe.rs"

[[example]]
name = "ride"
path = "examples/ride.rs"
required-features = ["ext"]

[[example]]
name = "server_switch"
path = "examples/server_switch.rs"

[[example]]
name = "sign_book_bed"
path = "examples/sign_book_bed.rs"
required-features = ["ext"]

[[example]]
name = "soak"
path = "examples/soak.rs"

[[example]]
name = "step_edge"
path = "examples/step_edge.rs"

[[example]]
name = "swarm"
path = "examples/swarm.rs"

[[example]]
name = "use_item"
path = "examples/use_item.rs"

[[test]]
name = "observer"
path = "tests/observer.rs"
required-features = ["v1_8"]

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

[dependencies.ghast-client]
version = "0.5.6"
default-features = false

[dependencies.ghast-data]
version = "0.5.6"
default-features = false

[dependencies.ghast-ext]
version = "0.5.6"
optional = true
default-features = false

[dependencies.ghast-pathfinder]
version = "0.5.6"
features = ["client"]
optional = true
default-features = false

[dependencies.ghast-protocol]
version = "0.5.6"
features = ["tokio"]
default-features = false

[dependencies.ghast-viewer]
version = "0.5.6"
features = ["download"]
optional = true
default-features = false

[dev-dependencies.log]
version = "0.4.29"

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