refactor(project): transition to library structure

Move module declarations from src/main.rs to a new src/lib.rs to transition
the project to a library-first structure. This allows other tools and
examples to utilize the core logic.

Co-Authored-By: fiddlerwoaroof/git-smart-commit (gemma-4-31B-it-UD-Q4_K_XL.gguf)
This commit is contained in:
Edward Langley
2026-04-13 21:30:18 -07:00
parent 04058a48f9
commit 53b13d4942
2 changed files with 17 additions and 10 deletions

9
src/lib.rs Normal file
View File

@ -0,0 +1,9 @@
pub mod command;
pub mod draw;
pub mod format;
pub mod formula;
pub mod import;
pub mod model;
pub mod persistence;
pub mod ui;
pub mod view;

View File

@ -1,14 +1,12 @@
mod command;
mod draw;
mod format;
mod formula;
mod import;
mod model;
mod persistence;
mod ui;
mod view;
use improvise::command;
use improvise::draw;
use improvise::import;
use improvise::model;
use improvise::persistence;
use improvise::ui;
use improvise::view;
use crate::import::csv_parser::csv_path_p;
use improvise::import::csv_parser::csv_path_p;
use std::path::PathBuf;