Skip to content

Commit a94d4ff

Browse files
committed
refactor(protocol): extract transport module to oxidized-transport crate
Remove transport/ module from oxidized-protocol. The protocol crate now depends on oxidized-transport and re-exports it as `pub use oxidized_transport as transport` for backward compatibility. All downstream imports (oxidized_protocol::transport::*) continue to work unchanged. All 1,267+ tests pass. Phase 6 — Transport extraction.
1 parent 2d3766a commit a94d4ff

7 files changed

Lines changed: 13 additions & 2293 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/oxidized-protocol/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ oxidized-auth = { workspace = true }
2020
oxidized-codec = { workspace = true }
2121
oxidized-mc-types = { workspace = true }
2222
oxidized-chat = { workspace = true }
23+
oxidized-transport = { workspace = true }
2324

2425
tokio = { workspace = true }
2526
tokio-util = { workspace = true }

crates/oxidized-protocol/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ pub mod constants;
99
pub mod packets;
1010
pub mod registry;
1111
pub mod status;
12-
pub mod transport;
12+
13+
// Re-export extracted transport crate for backward compatibility.
14+
pub use oxidized_transport as transport;

crates/oxidized-protocol/src/transport/channel.rs

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)