Expand description
Library surface of gitversion-rs (Rust port of GitVersion).
Exposes modules shared by the binary (main.rs) and integration tests (tests/).
Modules§
- app
- Application entry logic (called from the binary). Lives inside the lib so the
t!macro is available. - buildagent
- Build agent (CI) integrations.
- cache
- Disk cache for version calculation results.
- cli
- clap-based command-line interface.
- config
- GitVersion configuration: data model, workflow defaults, effective config, loader.
- exec
- External command execution hooks (similar to the semantic-release exec plugin).
- git
- Pure-Rust repository access layer built on gix (gitoxide).
- i18n
- Locale selection helper.
- output
- Output variables and formatters.
- remote
- Dynamic remote repository cloning.
- tui
- Ratatui-based interactive TUI.
- version
- Version data model and calculation engine.