Skip to content

Remove unused dispatch2 and block2 crates#519

Merged
xiaolai merged 1 commit intomainfrom
fix/remove-unused-rust-crates-513
Mar 23, 2026
Merged

Remove unused dispatch2 and block2 crates#519
xiaolai merged 1 commit intomainfrom
fix/remove-unused-rust-crates-513

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 23, 2026

Summary

  • Remove dispatch2 and block2 from macOS dependencies in src-tauri/Cargo.toml
  • dispatch2 has zero imports — only a comment explaining why it was intentionally not used
  • block2 is already pulled in transitively via objc2-web-kit features

Closes #513

Test plan

  • pnpm check:all passes (lint + test + build)
  • cargo check on macOS (Linux CI lacks macOS target; the removed crates are cfg(target_os = "macos") only)

🤖 Generated with Claude Code

Neither crate is imported in source code. dispatch2 was intentionally
not used (comment in renderer.rs), and block2 is already pulled in
transitively via objc2-web-kit features.

Closes #513

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude claude bot enabled auto-merge (squash) March 23, 2026 09:45
@xiaolai xiaolai merged commit 6da40c4 into main Mar 23, 2026
8 checks passed
@xiaolai xiaolai deleted the fix/remove-unused-rust-crates-513 branch March 23, 2026 12:04
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.

[audit] dead-code: unused Rust crates dispatch2 and block2 in Cargo.toml

1 participant