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