Skip to main content

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 changelog;
8pub mod compose;
9pub mod compose_types;
10pub mod config;
11pub mod diff;
12pub mod error;
13pub mod git;
14pub mod llm_cache;
15pub mod map_reduce;
16pub mod normalization;
17pub mod patch;
18pub mod profile;
19pub mod repo;
20pub mod style;
21pub mod templates;
22pub mod testing;
23pub mod tokens;
24pub mod types;
25pub mod validation;
26
27// Re-export commonly used types
28pub use config::CommitConfig;
29pub use error::{CommitGenError, Result};
30pub use types::{ConventionalCommit, Mode, resolve_model_name};
31
32// Re-export rewrite module for main.rs
33pub mod rewrite;