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
+19
View File
@@ -0,0 +1,19 @@
//! Deterministic artillery simulation core.
//!
//! Rules (see docs/ADR/0002-determinismus-fixed-point.md):
//! - no floating point arithmetic
//! - no `HashMap`/`HashSet` iteration
//! - no `std::time`, no threads, no `unsafe`
//! - fixed 60 Hz tick
#![cfg_attr(not(test), no_std)]
#![forbid(unsafe_code)]
#![deny(clippy::float_arithmetic)]
#[cfg(not(test))]
extern crate alloc;
/// Version of the simulation. Bumped on any formula/balance change.
pub const SIM_VERSION: &str = "0.1.0";
/// Fixed simulation tick rate in Hz.
pub const TICK_HZ: u32 = 60;