Skip to main content

CORE_VERSION

Constant CORE_VERSION 

Source
pub const CORE_VERSION: &str;
Expand description

Version of the subx-core library this build is linked against.

This constant reports the version of the subx_core crate resolved at build time (the git submodule mounted at subx-core/), and is distinct from VERSION, which reports this CLI crate’s own version. The two crates carry independent version lines related only by the caret requirement in Cargo.toml.

§Examples

use subx_cli::CORE_VERSION;

assert!(!CORE_VERSION.is_empty());
println!("Linked subx-core version: {}", CORE_VERSION);