[package]
edition = "2024"
rust-version = "1.89"
name = "oc2_hlapi_v2"
version = "0.2.0"
authors = ["pjht"]
build = false
exclude = [
"/tests/ingame",
"/ingame/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A client for the new version of OpenComputers II's HLAPI"
readme = "README.md"
keywords = [
"opencomputers",
"oc2",
"minecraft",
"hlapi",
"rpc",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://gitea.pterpstra.com/pjht/oc2_hlapi_v2"
[lib]
name = "oc2_hlapi_v2"
path = "src/lib.rs"
[[test]]
name = "busd"
path = "tests/busd.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "codec"
path = "tests/codec.rs"
[[test]]
name = "devices"
path = "tests/devices.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "linux"
path = "tests/linux.rs"
[[test]]
name = "messages"
path = "tests/messages.rs"
[[test]]
name = "tcp"
path = "tests/tcp.rs"
[[test]]
name = "wrappers"
path = "tests/wrappers.rs"
[dependencies.crc]
version = "3.4"
[dependencies.erased-serde]
version = "0.4"
[dependencies.ndarray]
version = "0.17.2"
[dependencies.num_enum]
version = "0.7.6"
[dependencies.rgb]
version = "0.8.53"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.uuid]
version = "1.28"
features = [
"serde",
"v4",
]
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.31"
features = [
"fs",
"poll",
]