ghast-entity 0.4.7

Entity tracking for the ghast Minecraft Java Edition client library: zero-allocation parsing of 1.8.9, 1.12.2, 1.16.5, 26.1 and 26.2 entity packets, vanilla-exact positions, O(1) lookup
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-entity"
version = "0.4.7"
authors = ["Crefax"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Entity tracking for the ghast Minecraft Java Edition client library: zero-allocation parsing of 1.8.9, 1.12.2, 1.16.5, 26.1 and 26.2 entity packets, vanilla-exact positions, O(1) lookup"
documentation = "https://docs.rs/ghast-entity"
readme = "README.md"
keywords = [
    "minecraft",
    "entity",
    "bot",
]
categories = ["game-development"]
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",
    "v1_16_5",
    "v26_1",
    "v26_2",
]
v1_12 = [
    "ghast-protocol/v1_12_2",
    "ghast-data/v1_12",
]
v1_16_5 = [
    "ghast-protocol/v1_16_5",
    "ghast-data/v1_16_5",
]
v1_8 = [
    "ghast-protocol/v1_8",
    "ghast-data/v1_8",
]
v26_1 = [
    "ghast-protocol/v26_1",
    "ghast-data/v26_1",
]
v26_2 = [
    "ghast-protocol/v26_2",
    "ghast-data/v26_2",
]

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

[[example]]
name = "live_probe"
path = "examples/live_probe.rs"
required-features = [
    "v1_8",
    "v1_12",
    "v1_16_5",
]

[[test]]
name = "oracle_26_1"
path = "tests/oracle_26_1.rs"
required-features = ["v26_1"]

[[test]]
name = "oracle_26_2"
path = "tests/oracle_26_2.rs"
required-features = ["v26_2"]

[[test]]
name = "robustness"
path = "tests/robustness.rs"
required-features = [
    "v1_8",
    "v1_12",
    "v1_16_5",
]

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

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

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

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

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

[[bench]]
name = "entity"
path = "benches/entity.rs"
harness = false
required-features = [
    "v1_8",
    "v1_12",
    "v1_16_5",
    "v26_1",
]

[dependencies.bytes]
version = "1.12"

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

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

[dependencies.uuid]
version = "1"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

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

[dev-dependencies.proptest]
version = "1.12"

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