Skip to content

fix(release): drop version requirements from intra-workspace path deps - #6

Merged
senamakel merged 5 commits into
mainfrom
tinymemory-drop-path-dep-versions
Aug 12, 2026
Merged

fix(release): drop version requirements from intra-workspace path deps#6
senamakel merged 5 commits into
mainfrom
tinymemory-drop-path-dep-versions

chore(deny): allow wildcard path dependencies for unpublished crates

575141f
Select commit
Loading
Failed to load commit list.
TinySweeper / tinysweeper/critique succeeded Aug 12, 2026 in 0s

2 findings

Reviewed 6 files; 3 findings. The code index for this repository is cold, so this review saw the diff alone.

Finding Where
medium Restore version requirement on the tinymemory-api path dependency Cargo.toml:58
medium Restore version requirements on path dependencies core/Cargo.toml:18
![medium](https://img.shields.io/badge/medium-fbca04?style=flat-square) Restore version requirement on the tinymemory-api path dependency

Cargo.toml:58 likely

[RULE] Dependencies should be pinned with a caret range; path dependencies intended for publishing need a version requirement.

The original entry pinned the dependency with version = "0.1.1" (a caret range). Removing the version field means the dependency is no longer pinned with a caret range, contrary to the repository rule. More importantly, if this crate is published to crates.io, Cargo requires every path dependency to specify a version requirement (unless it is a workspace member); without one, cargo publish will fail. The surrounding comment indicates the crate is meant for external consumption, so publishing is a real path.

![medium](https://img.shields.io/badge/medium-fbca04?style=flat-square) Restore version requirements on path dependencies

core/Cargo.toml:18 uncertain

[RULE] Keep path dependencies publishable

These path dependencies dropped their version fields. Cargo requires every path dependency to have a version requirement when publishing to crates.io; without it cargo publish errors with "path dependency ... does not have a version requirement." The dev-dependency entry for tinymemory-api is affected the same way. If this crate (or anything that depends on it for publishing) is released to crates.io, this change breaks publication. Confidence is moderate because the diff alone does not show whether these crates are actually published; if this workspace is purely local-only, the removal is safe.

tinysweeper 0.1.0