Files
hakorune/plugins/nyash-net-plugin/src/boxes/mod.rs
Selfhosting Dev b4f6818f3b refactor: 大型プラグインのモジュール分割によるコード品質向上
nyash-json-plugin:
- 796行の単一ファイルから6モジュール構造へ分割
- constants.rs, provider.rs, doc_box.rs, node_box.rs, tlv_helpers.rs, ffi.rsに責任分離
- 最大ファイルサイズを374行に削減(53%削減)
- 共有状態管理をprovider.rsに集約

nyash-net-plugin:
- 1112行の巨大ファイルから17ファイル構造へ分割
- boxesサブディレクトリでBox実装を整理(server, client, request, response, socket系)
- 最大ファイルサイズを290行に削減(74%削減)
- logging, tlv, http_helpers等の共通機能を独立モジュール化

両プラグインともビルド成功確認済み、完全な後方互換性を維持

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 01:57:12 +09:00

16 lines
429 B
Rust

mod client;
mod request;
mod response;
mod server;
mod socket_client;
mod socket_conn;
mod socket_server;
pub use client::nyash_typebox_ClientBox;
pub use request::nyash_typebox_RequestBox;
pub use response::nyash_typebox_ResponseBox;
pub use server::nyash_typebox_ServerBox;
pub use socket_client::nyash_typebox_SockClientBox;
pub use socket_conn::nyash_typebox_SockConnBox;
pub use socket_server::nyash_typebox_SockServerBox;