epics_libcom_rs/runtime/version.rs
1//! The EPICS Base release this crate ports — the Rust `epicsVersion.h`.
2//!
3//! @generated by `cargo run -p env-codegen -- --write` from the vendored
4//! `crates/epics-base-rs/envconfig/CONFIG_BASE_VERSION`, exactly as C's
5//! `makeEpicsVersion.pl` generates `epicsVersion.h` from `configure/`.
6//! DO NOT EDIT — bump the spec and regenerate. `env-codegen --check` fails on
7//! drift and runs as part of `cargo nextest run -p env-codegen`.
8//!
9//! These are the EPICS Base version, NOT the `epics-libcom-rs` crate version
10//! (`CARGO_PKG_VERSION`): the crate version tracks the Rust port's own release
11//! cadence, these name the upstream release being ported.
12
13/// C `EPICS_VERSION` — the major number.
14pub const EPICS_VERSION: u32 = 7;
15/// C `EPICS_REVISION`.
16pub const EPICS_REVISION: u32 = 0;
17/// C `EPICS_MODIFICATION`.
18pub const EPICS_MODIFICATION: u32 = 10;
19/// C `EPICS_PATCH_LEVEL`.
20pub const EPICS_PATCH_LEVEL: u32 = 1;
21/// C `EPICS_DEV_SNAPSHOT` — `"-DEV"` between releases, empty on one.
22pub const EPICS_DEV_SNAPSHOT: &str = "-DEV";
23/// C `EPICS_SITE_VERSION` — a site's local version suffix, empty upstream.
24pub const EPICS_SITE_VERSION: &str = "";
25
26/// C `EPICS_VERSION_SHORT` — the release, with no snapshot or site suffix.
27pub const EPICS_VERSION_SHORT: &str = "7.0.10.1";
28/// C `EPICS_VERSION_FULL` — short version plus the snapshot and site suffixes.
29pub const EPICS_VERSION_FULL: &str = "7.0.10.1-DEV";
30/// C `EPICS_VERSION_STRING` — what every tool's `-V` banner prints.
31pub const EPICS_VERSION_STRING: &str = "EPICS 7.0.10.1-DEV";
32/// C `epicsReleaseVersion`.
33pub const EPICS_RELEASE_VERSION: &str = "EPICS R7.0.10.1-DEV";
34/// C `EPICS_VERSION_INT` — `VERSION_INT(V, R, M, P)`, for numeric compares.
35pub const EPICS_VERSION_INT: u32 = 0x07000a01;