canvas library config removed compeltely

This commit is contained in:
Priec
2025-07-31 21:41:54 +02:00
parent 8788323c62
commit 36690e674a
19 changed files with 313 additions and 2000 deletions

View File

@@ -1,11 +1,16 @@
// src/lib.rs
pub mod canvas;
pub mod autocomplete;
pub mod config;
pub mod dispatcher;
// pub mod autocomplete;
pub mod dispatcher; // Keep for compatibility
// Re-export the main API for easy access
pub use dispatcher::{execute_canvas_action, ActionDispatcher};
pub use canvas::actions::{CanvasAction, ActionResult};
pub use canvas::actions::{CanvasAction, ActionResult, execute};
pub use canvas::state::{CanvasState, ActionContext};
pub use canvas::modes::{AppMode, HighlightState, ModeManager};
// Keep legacy exports for compatibility
pub use dispatcher::{execute_canvas_action, ActionDispatcher};
// Re-export result type for convenience
pub type Result<T> = anyhow::Result<T>;