mirror of
https://github.com/st3fan/ewm.git
synced 2026-10-28 16:10:24 +00:00
* Phase 0: Rust workspace scaffolding + CI Adds the parallel Rust workspace under rust/ per REWRITE.md: - ewm-core (headless lib, zero dependencies) and ewm (binary, declares sdl2 now so CI installs SDL2 headers from day one; prints the same usage line as the C binary) - rust-toolchain.toml pinning 1.91.1 with rustfmt + clippy - GitHub Actions CI: C build job (ubuntu + libsdl2-dev) and Rust job (fmt --check, clippy -D warnings, test) - Anchor the 'ewm' gitignore pattern to src/ so rust/ewm is tracked; ignore rust/target/ - README note pointing at REWRITE.md The C tree in src/ is untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * CI: build the C tree on macOS gcc on ubuntu fails -Werror with -Wimplicit-fallthrough in two.c; src/ is frozen until Phase 9, so build C where it has always built (macOS, as Travis did). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * CI: point clang at the Homebrew prefix via CPATH/LIBRARY_PATH The committed Makefile does not search /opt/homebrew, so SDL2 headers are not found on the arm64 macOS runner. src/ is frozen, so pass the paths through the environment instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
69 lines
1.7 KiB
TOML
69 lines
1.7 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 4
|
|
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.3.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
version = "1.0.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
|
|
[[package]]
|
|
name = "ewm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"ewm-core",
|
|
"sdl2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ewm-core"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "lazy_static"
|
|
version = "1.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.186"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
|
|
[[package]]
|
|
name = "sdl2"
|
|
version = "0.38.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2d42407afc6a8ab67e36f92e80b8ba34cbdc55aaeed05249efe9a2e8d0e9feef"
|
|
dependencies = [
|
|
"bitflags",
|
|
"lazy_static",
|
|
"libc",
|
|
"sdl2-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "sdl2-sys"
|
|
version = "0.38.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3ff61407fc75d4b0bbc93dc7e4d6c196439965fbef8e4a4f003a36095823eac0"
|
|
dependencies = [
|
|
"cfg-if",
|
|
"libc",
|
|
"version-compare",
|
|
]
|
|
|
|
[[package]]
|
|
name = "version-compare"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29"
|