Implement NyashBox trait for core boxes - ArrayBox, BufferBox, FileBox, JSONBox, FutureBox, StreamBox, ResultBox

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-10 03:21:24 +00:00
parent 85a8c7f2d7
commit e6e36ccfb0
11 changed files with 633 additions and 13 deletions

View File

@ -94,18 +94,36 @@ pub use web::{WebDisplayBox, WebConsoleBox, WebCanvasBox};
pub mod null_box;
// High-priority Box types
pub mod array;
pub mod buffer;
pub mod file;
pub mod future;
pub mod json;
pub mod result;
pub mod http;
pub mod stream;
pub mod regex;
// P2P通信Box群
// pub mod intent_box;
// pub mod intent_box_wrapper;
// pub mod p2p_box;
// 今後追加予定のBox型コメントアウト
// pub mod array_box;
// pub use array_box::ArrayBox;
// null関数も再エクスポート
pub use null_box::{NullBox, null};
// High-priority Box types re-export
pub use array::ArrayBox;
pub use buffer::BufferBox;
pub use file::FileBox;
pub use future::{NyashFutureBox, FutureBox};
pub use json::JSONBox;
pub use result::{NyashResultBox, ResultBox};
pub use http::HttpClientBox;
pub use stream::{NyashStreamBox, StreamBox};
pub use regex::RegexBox;
// P2P通信Boxの再エクスポート
// pub use intent_box::IntentBox;
// pub use p2p_box::P2PBox;