Implement Phase 0: Stabilize CLI build with feature separation

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-13 05:06:43 +00:00
parent f6bd6ef39b
commit 079a095f5c
9 changed files with 144 additions and 32 deletions

View File

@ -1,3 +1,5 @@
#![cfg(feature = "gui")]
/*! 🖼️ EguiBox - デスクトップGUIアプリBox
* Everything is Box哲学によるGUIフレームワーク統合
* 「なんでもBoxにできる」化け物言語の第一歩

View File

@ -74,7 +74,7 @@ pub mod console_box;
pub mod web;
// GUI Box条件付きコンパイル
#[cfg(not(target_arch = "wasm32"))]
#[cfg(all(feature = "gui", not(target_arch = "wasm32")))]
pub mod egui_box;
// 共通で使う型とトレイトを再エクスポート
@ -95,7 +95,7 @@ pub use map_box::MapBox;
pub use console_box::ConsoleBox;
// EguiBoxの再エクスポート非WASM環境のみ
#[cfg(not(target_arch = "wasm32"))]
#[cfg(all(feature = "gui", not(target_arch = "wasm32")))]
pub use egui_box::EguiBox;
// Web Box群の再エクスポートWASM環境のみ