diff --git a/services/ticktimer-server/src/version.rs b/services/ticktimer-server/src/version.rs new file mode 100644 index 000000000..e7d887b4e --- /dev/null +++ b/services/ticktimer-server/src/version.rs @@ -0,0 +1,18 @@ +// Versioning information is kept in a separate file, attached to a small, well-known server in the Xous System +// This is a trade-off between rebuild times and flexibility. +// This was autogenerated by xtask/src/main.rs:print_header(). Do not edit manually. + +pub(crate) fn get_version() -> crate::api::VersionString { + let mut v = crate::api::VersionString { + version: xous_ipc::String::new() + }; + v.version.append(SEMVER).ok(); + #[cfg(not(feature="no-timestamp"))] + v.version.append("\n").ok(); + #[cfg(not(feature="no-timestamp"))] + v.version.append(TIMESTAMP).ok(); + v +} +#[allow(dead_code)] +pub const TIMESTAMP: &'static str = "Sat, 02 Jul 2022 13:41:48 -0400"; +pub const SEMVER: &'static str = "v0.9.8-723-g64e82d88";