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 repo;
19pub mod style;
20pub mod templates;
21pub mod testing;
22pub mod tokens;
23pub mod types;
24pub mod validation;
25
26// Re-export commonly used types
27pub use config::CommitConfig;
28pub use error::{CommitGenError, Result};
29pub use types::{ConventionalCommit, Mode, resolve_model_name};
30
31// Re-export rewrite module for main.rs
32pub mod rewrite;