llm_git/lib.rs
1//! Git commit message generator library
2//!
3//! This library provides functionality for analyzing git diffs and generating
4//! conventional commit messages using Claude AI via `LiteLLM`.
5pub mod analysis;
6pub mod api;
7pub mod compose;
8pub mod config;
9pub mod diff;
10pub mod error;
11pub mod git;
12pub mod normalization;
13pub mod patch;
14pub mod templates;
15pub mod types;
16pub mod validation;
17
18// Re-export commonly used types
19pub use config::CommitConfig;
20pub use error::{CommitGenError, Result};
21pub use types::{ConventionalCommit, Mode, resolve_model_name};
22
23// Re-export rewrite module for main.rs
24pub mod rewrite;