chore(m0): initialize cargo workspace, crate skeletons and ci gate

This commit is contained in:
2026-10-24 19:53:56 +02:00
parent a7499657bb
commit 51c335db84
14 changed files with 335 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
[package]
name = "server"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
description = "Replay validation service (referee)"
[dependencies]
sim.workspace = true
content.workspace = true
+14
View File
@@ -0,0 +1,14 @@
//! Replay validation service. Filled in at M4 (axum, sqlx, HMAC tokens).
/// Reports which simulation version this server validates against.
pub fn validated_sim_version() -> &'static str {
sim::SIM_VERSION
}
#[cfg(test)]
mod tests {
#[test]
fn reports_sim_version() {
assert_eq!(super::validated_sim_version(), sim::SIM_VERSION);
}
}