Skip to main content

changepacks_utils/
lib.rs

1//! # changepacks-utils
2//!
3//! Shared utilities for the changepacks system.
4//!
5//! Provides git repository operations via gix, version calculation, dependency sorting with
6//! Kahn's algorithm, config management, and format detection for JSON indentation. These
7//! utilities are used across all language-specific crates and CLI commands.
8
9mod clear_update_logs;
10mod detect_indent;
11mod display_update;
12mod filter_project_dirs;
13mod find_current_git_repo;
14mod gen_changepack_result_map;
15mod gen_update_map;
16mod get_changepacks_config;
17mod get_changepacks_dir;
18mod get_relative_path;
19mod next_version;
20mod sort_by_dep;
21mod split_version;
22
23pub use clear_update_logs::clear_update_logs;
24pub use detect_indent::detect_indent;
25pub use display_update::display_update;
26pub use filter_project_dirs::find_project_dirs;
27pub use find_current_git_repo::find_current_git_repo;
28pub use gen_changepack_result_map::gen_changepack_result_map;
29pub use gen_update_map::{apply_reverse_dependencies, gen_update_map};
30pub use get_changepacks_config::get_changepacks_config;
31pub use get_changepacks_dir::get_changepacks_dir;
32pub use get_relative_path::get_relative_path;
33pub use next_version::next_version;
34pub use sort_by_dep::sort_by_dependencies;
35pub use split_version::split_version;