Update packet_inspector

This commit is contained in:
Ryan 2022-09-01 00:57:02 -07:00
parent 5fb46178dd
commit 27033c758e
4 changed files with 5 additions and 5 deletions

View file

@ -68,4 +68,4 @@ num = "0.4"
protocol = []
[workspace]
members = ["packet-inspector", "valence_nbt"]
members = ["valence_nbt", "packet_inspector"]

View file

@ -1,5 +1,5 @@
[package]
name = "packet-inspector"
name = "packet_inspector"
version = "0.1.0"
edition = "2021"
description = "A simple Minecraft proxy for inspecting packets."

View file

@ -46,9 +46,9 @@ impl Cli {
fn print(&self, d: &impl fmt::Debug) {
if self.timestamp {
let now: DateTime<Utc> = Utc::now();
println!("{now} {d:?}");
println!("{now} {d:#?}");
} else {
println!("{d:?}");
println!("{d:#?}");
}
}

View file

@ -138,7 +138,7 @@ pub mod ident;
pub mod player_list;
pub mod player_textures;
#[allow(dead_code)]
mod protocol;
pub mod protocol;
pub mod server;
mod slab;
mod slab_rc;