Skip to main content

steel_protocol/
lib.rs

1//! # Steel Protocol
2//!
3//! The core library for the Steel Minecraft server. Handles everything related to the PLAY state.
4#![expect(
5    clippy::absolute_paths,
6    clippy::allow_attributes_without_reason,
7    clippy::match_same_arms,
8    clippy::ref_option,
9    clippy::unreadable_literal,
10    reason = "packet definitions keep explicit protocol-oriented code and existing test/build invariants"
11)]
12#![cfg_attr(
13    test,
14    expect(
15        clippy::float_cmp,
16        clippy::unwrap_used,
17        reason = "packet round-trip tests compare exact serialized float values and unwrap known-good buffers"
18    )
19)]
20
21pub mod packet_reader;
22pub mod packet_traits;
23pub mod packet_writer;
24pub mod packets;
25pub mod utils;