Skip to content

chore: remove unused direct dependencies libc and strum_macros - #27

Merged
ololonly merged 1 commit into
mainfrom
chore/remove-unused-deps
Jun 7, 2026
Merged

chore: remove unused direct dependencies libc and strum_macros#27
ololonly merged 1 commit into
mainfrom
chore/remove-unused-deps

Conversation

@ololonly

@ololonly ololonly commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove libc = "0.2" — not referenced anywhere in src/; pulled in transitively by sdl2-sys anyway
  • Remove strum_macros = "0.27.2" — redundant since strum 0.26+, which re-exports its proc-macros; the codebase already uses use strum::{Display, EnumIter, FromRepr} with no direct strum_macros:: imports

Test plan

  • cargo check --no-default-features --features simulator --target aarch64-apple-darwin passes cleanly

`libc` was not used anywhere in src/ — it is pulled in transitively by
sdl2-sys. `strum_macros` is redundant since strum 0.26+ re-exports its
proc-macros; the code already imports them via `use strum::{}`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ololonly
ololonly merged commit 29021ae into main Jun 7, 2026
3 checks passed
@ololonly
ololonly deleted the chore/remove-unused-deps branch June 7, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant