mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
420f2d1b7c
Closes #83 This PR aims to move all of Valence's networking code to the new `valence_protocol` crate. Anything not specific to valence is going in the new crate. It also redesigns the way packets are defined and makes a huge number of small additions and improvements. It should be much easier to see where code is supposed to go from now on. `valence_protocol` is a new library which enables interactions with Minecraft's protocol. It is completely decoupled from valence and can be used to build new clients, servers, tools, etc. There are two additions that will help with #5 especially: - It is now easy to define new packets or modifications of existing packets. Not all packets need to be bidirectional. - The `CachedEncode` type has been created. This is used to safely cache redundant calls to `Encode::encode`.
14 lines
397 B
TOML
14 lines
397 B
TOML
[package]
|
|
name = "packet_inspector"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A simple Minecraft proxy for inspecting packets."
|
|
|
|
[dependencies]
|
|
valence_protocol = { path = "../valence_protocol", version = "0.1.0", features = ["compression"] }
|
|
clap = { version = "3.2.8", features = ["derive"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
anyhow = "1"
|
|
chrono = "0.4.19"
|
|
regex = "1.6.0"
|