Skip to main content

muse_codes/
version.rs

1//! Version pins this crate is tested against.
2
3/// Muse Code release the committed captures were taken from
4/// (`muse --version` reports `Muse Code 0.1.0 (0.1.0-R708.1)`).
5pub const TESTED_MUSE_VERSION: &str = "0.1.0";
6
7/// Full build string of the tested binary.
8pub const TESTED_MUSE_BUILD: &str = "0.1.0-R708.1";
9
10/// Envelope `schema_version` the models target.
11pub const STREAM_SCHEMA_VERSION: u32 = 1;
12
13/// The tested-against CLI release — the workspace-uniform accessor
14/// (`tested_cli_version()` exists in every crate here); alias of
15/// [`TESTED_MUSE_VERSION`]. Kept in lockstep with the README by CI.
16pub fn tested_cli_version() -> &'static str {
17    TESTED_MUSE_VERSION
18}
19
20/// The full build string of the tested release; alias of
21/// [`TESTED_MUSE_BUILD`].
22pub fn tested_cli_build() -> &'static str {
23    TESTED_MUSE_BUILD
24}