Skip to main content

gitversion_rs/
lib.rs

1//! Library surface of gitversion-rs (Rust port of GitVersion).
2//!
3//! Exposes modules shared by the binary (`main.rs`) and integration tests (`tests/`).
4
5// Some helpers (e.g. tags_on_commit, format_short) are intentionally included even though
6// the binary does not call them directly, as they are part of the ported public API.
7#![allow(dead_code)]
8
9// Multilingual: English by default; ko/ja/zh loaded from YAML files in locales/.
10rust_i18n::i18n!("locales", fallback = "en");
11
12pub mod i18n;
13
14pub mod app;
15pub mod buildagent;
16pub mod cache;
17pub mod cli;
18pub mod config;
19pub mod exec;
20pub mod git;
21pub mod output;
22pub mod remote;
23pub mod tui;
24pub mod version;