Skip to content

chore(core): remove unused dashmap dependency - #132

Merged
Muawiya-contact merged 1 commit into
Coding-Moves:mainfrom
LouisDeconinck:chore/remove-unused-dashmap
Sep 12, 2026
Merged

Muawiya-contact merged 1 commit into
Coding-Moves:mainfrom
LouisDeconinck:chore/remove-unused-dashmap

Conversation

@LouisDeconinck

Copy link
Copy Markdown
Collaborator

What & why

Closes #86

dashmap is listed as a workspace dependency and wired into diskern-core, but nothing uses it — grep -rn "dashmap\|DashMap" crates app returns zero code matches. Removes it from the workspace table and diskern-core, and lets Cargo.lock prune the entry (plus the orphaned hashbrown 0.14.5).

Checklist

  • cargo fmt --all and cargo clippy --workspace are clean
  • cargo test --workspace passes (108 tests across diskern-core + diskern-cli)
  • Commits are small and focused (one logical change each)
  • Doesn't weaken a safety principle (read-only scans, quarantine over deletion, deterministic verdicts)

diskern-core declared dashmap but never references it: no DashMap
import or use exists anywhere in crates/ or app/. The dependency is
left over from an earlier plan for the parallel walk, which ended up
with jwalk collecting into a Vec and rayon doing the hashing.

Drop the line from crates/diskern-core/Cargo.toml and the entry from
the root workspace table. Cargo.lock sheds dashmap 6.2.1 plus the
hashbrown 0.14.5 copy that only dashmap used, trimming build time
and audit surface for a crate the engine never links.

cargo clippy -p diskern-core -p diskern-cli --all-targets -- -D warnings
and cargo test -p diskern-core -p diskern-cli stay green.

Closes Coding-Moves#86

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome back to Coding Moves, @LouisDeconinck — thank you for the clean cleanup.

This looks good to me. The PR removes dashmap from the workspace, from diskern-core, and from Cargo.lock, with no leftover uses. CI is fully green, including audit, lint, tests, app checks, docs, site, and typos.

Approved. Please keep exploring more projects in the Coding Moves organization, contribute more when you find something interesting, and if you like Diskern, don’t forget to star the repo and follow Coding Moves.

@Muawiya-contact
Muawiya-contact merged commit d9b7b84 into Coding-Moves:main Sep 12, 2026
15 checks passed
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.

dashmap is a dependency of diskern-core and is never used

2 participants