waterui_cli/runtime/build_info.rs
1//! Build-time metadata embedded into the `water` CLI binary.
2
3/// Exact Android Kotlin compiler version required by the embedded Android backend/runtime.
4pub const ANDROID_KOTLIN_VERSION: &str = env!("WATERUI_CLI_ANDROID_KOTLIN_VERSION");
5
6/// Git repository reference embedded into the CLI binary.
7#[derive(Debug, Clone, Copy, PartialEq, Eq)]
8pub struct BackendReference {
9 /// Git remote URL for the backend repository.
10 pub repository_url: &'static str,
11 /// Git ref the scaffold pins.
12 pub revision: &'static str,
13}
14
15/// Embedded TUI backend repository reference.
16///
17/// The experimental TUI backend is not a workspace submodule, so its pin is a
18/// source literal rather than a build-script value — bump `revision` when the
19/// CLI starts depending on a newer `waterui-tui` API.
20pub const TUI_BACKEND: BackendReference = BackendReference {
21 repository_url: "https://github.com/water-rs/tui",
22 revision: "4782df8a39626a9f24fd27b909d884924e2bce95",
23};