chore: scaffold empty cargo lib crate and add design spec

Initial state from `cargo new --lib` plus the technical design spec at
docs/heuropt_tech_design_spec.md, which is the source of truth for the
crate's public API and v1 acceptance criteria.
This commit is contained in:
2026-05-04 19:18:00 -06:00
commit 45f9080225
4 changed files with 2196 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
/target
/Cargo.lock
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "heuropt"
version = "0.1.0"
edition = "2024"
[dependencies]
File diff suppressed because it is too large Load Diff
+14
View File
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}