git_iris/
lib.rs

1//! Git-Iris - AI-powered Git workflow assistant
2//!
3//! This library provides intelligent assistance for Git workflows including commit message generation,
4//! code reviews, pull request descriptions, changelogs, and release notes.
5
6// Allow certain clippy warnings that are either stylistic or from external dependencies
7#![allow(clippy::uninlined_format_args)] // Style preference
8#![allow(clippy::format_push_string)] // Performance improvement but stylistic
9#![allow(clippy::future_not_send)] // From Rig framework internals, can't fix
10#![allow(clippy::return_self_not_must_use)] // Builder pattern is clear enough
11#![allow(clippy::items_after_statements)] // Locally-scoped use statements are fine
12#![allow(clippy::too_many_arguments)] // Some functions legitimately need many params
13#![allow(clippy::option_as_ref_cloned)] // .as_ref().cloned() is sometimes clearer
14#![allow(clippy::redundant_clone)] // Sometimes more explicit is clearer
15
16pub mod agents;
17pub mod changelog;
18pub mod cli;
19pub mod commands;
20pub mod common;
21pub mod companion;
22pub mod config;
23pub mod context;
24pub mod git;
25pub mod gitmoji;
26pub mod instruction_presets;
27pub mod logger;
28pub mod messages;
29pub mod output;
30pub mod providers;
31pub mod services;
32pub mod studio;
33pub mod theme;
34pub mod types;
35pub mod ui;
36
37// Re-export important structs and functions for easier testing
38pub use config::Config;
39pub use providers::{Provider, ProviderConfig};
40
41// Re-exports from types module
42pub use types::{
43    GeneratedMessage, MarkdownPullRequest, MarkdownReleaseNotes, MarkdownReview,
44    format_commit_message,
45};