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; use improvise::command;
mod draw; use improvise::draw;
mod format; use improvise::import;
mod formula; use improvise::model;
mod import; use improvise::persistence;
mod model; use improvise::ui;
mod persistence; use improvise::view;
mod ui;
mod view;
use crate::import::csv_parser::csv_path_p; use improvise::import::csv_parser::csv_path_p;
use std::path::PathBuf; use std::path::PathBuf;