Commit f426d6d
committed
Scaffold Cargo workspace with post-01 placeholder crate
Initial structure for the Rust via Project Euler series:
- Cargo workspace with posts/post-01-multiples-of-3-and-5/ as the first crate
- Three binaries (beginner/medium/expert) wired to a shared lib with
placeholder solutions; Post 1 will replace them with the real three-level walk
- criterion bench harness + correctness test verifying the Euler answer (233168)
- rust-toolchain.toml pinning to rustc 1.95.0 for reproducible numbers
- GitHub Actions CI: fmt, clippy (warnings as errors), tests, bench compile
- results.json stub recording benchmark hardware (Apple M5, 10c, 24GB, macOS 26.2)
- Dual MIT/Apache-2.0 license, README explaining reproduction flow0 parents commit f426d6d
16 files changed
Lines changed: 1020 additions & 0 deletions
File tree
- .github/workflows
- posts/post-01-multiples-of-3-and-5
- benches
- src
- bin
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments