[package]
edition = "2024"
rust-version = "1.89"
name = "ghast"
version = "0.2.2"
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 and 1.16.5) with vanilla-exact behaviour: facade crate re-exporting the ghast-* crates"
homepage = "https://github.com/Crefax/Ghast"
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 = []
ext = ["dep:ghast-ext"]
microsoft = [
"ghast-client/microsoft",
"ghast-auth/microsoft",
]
pathfinder = [
"dep:ghast-pathfinder",
"ghast-ext?/pathfinder",
]
[lib]
name = "ghast"
path = "src/lib.rs"
[[example]]
name = "afk"
path = "examples/afk.rs"
[[example]]
name = "attack"
path = "examples/attack.rs"
[[example]]
name = "chat"
path = "examples/chat.rs"
[[example]]
name = "dig_place"
path = "examples/dig_place.rs"
[[example]]
name = "goto"
path = "examples/goto.rs"
required-features = [
"ext",
"pathfinder",
]
[[example]]
name = "inventory_probe"
path = "examples/inventory_probe.rs"
[[example]]
name = "movement_course"
path = "examples/movement_course.rs"
[[example]]
name = "soak"
path = "examples/soak.rs"
[[example]]
name = "use_item"
path = "examples/use_item.rs"
[[test]]
name = "observer"
path = "tests/observer.rs"
[dependencies.ghast-auth]
version = "0.2.2"
[dependencies.ghast-client]
version = "0.2.2"
[dependencies.ghast-data]
version = "0.2.2"
[dependencies.ghast-ext]
version = "0.2.2"
optional = true
default-features = false
[dependencies.ghast-pathfinder]
version = "0.2.2"
optional = true
[dependencies.ghast-protocol]
version = "0.2.2"
[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