874b6f20c2
Основа — Horizon (MIT). История апстрима не переносится: этот репозиторий ведёт свою.
35 lines
1020 B
TOML
35 lines
1020 B
TOML
[package]
|
|
name = "horizon-protocol"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
description = "Horizon's Minecraft Java Edition 26.3 network protocol (version 777)"
|
|
|
|
[dependencies]
|
|
horizon-core = { path = "../horizon-core" }
|
|
horizon-world = { path = "../horizon-world" }
|
|
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
|
serde_json = "1.0.151"
|
|
# The shared secret and RSA padding (OS randomness) and the server hash.
|
|
getrandom = "0.3"
|
|
sha1 = "0.10"
|
|
# Secure chat: SHA256withRSA message signatures.
|
|
sha2 = "0.10"
|
|
|
|
# The name servers of Windows' network adapters, for Minecraft SRV redirects.
|
|
[target.'cfg(windows)'.dependencies]
|
|
ipconfig = "0.3.4"
|
|
|
|
# Its own name, not `probe`: Cargo copies every crate's examples into one target/<profile>/examples.
|
|
[[example]]
|
|
name = "protocol_probe"
|
|
path = "examples/probe.rs"
|
|
|
|
[[example]]
|
|
name = "item_wire_probe"
|
|
path = "examples/item_wire_probe.rs"
|
|
|
|
[lints]
|
|
workspace = true
|