Skip to content

Tidy the repo and published crate for the 0.7.0 release#31

Open
akesson wants to merge 2 commits into
mainfrom
henrik/fix-publish-warnings
Open

Tidy the repo and published crate for the 0.7.0 release#31
akesson wants to merge 2 commits into
mainfrom
henrik/fix-publish-warnings

Conversation

@akesson

@akesson akesson commented Jun 3, 2026

Copy link
Copy Markdown
Member

Pre-publish tidy-up (follow-up to #30). No library code changes.

1. Silence the cargo publish warnings

#30's exclude = [".../tests"] made publish warn it was ignoring the auto-discovered common/playground test targets whose files were no longer packaged:

warning: ignoring test `common` as `tests/common.rs` is not included in the published package
warning: ignoring test `playground` as `tests/playground.rs` is not included in the published package

Fix: drop /tests from exclude. The two-file harness ships again (as it did in 0.6.x); the meaningful trim — the 89-file src/tests snapshot corpus — stays excluded.

2. Remove the .vscode folder

Delete the tracked editor config from the repo entirely and gitignore .vscode/ so it won't return. The now-dead /.vscode exclude entry is dropped too.

Result

cargo publish --dry-run is warning-free (38 files, 57.6 KiB compressed) and verify-builds clean. Excluded from the package: CLAUDE.md and src/tests/. Removed from the repo: .vscode/.

🤖 Generated with Claude Code

akesson and others added 2 commits June 3, 2026 09:23
Excluding `/tests` made `cargo publish` warn that it was ignoring the
auto-discovered `common` and `playground` test targets whose files were no
longer packaged. Keep the two-file `tests/` harness (negligible size) so those
targets resolve cleanly; the meaningful trim — the 89-file `src/tests` snapshot
corpus, plus `.vscode` and `CLAUDE.md` — stays excluded.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Delete the tracked editor config entirely and gitignore `.vscode/` so it
doesn't return. Drop the now-dead `/.vscode` entry from the package `exclude`
(the folder no longer exists to exclude).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@akesson akesson changed the title Stop excluding tests/ from the package to silence publish warnings Tidy the repo and published crate for the 0.7.0 release Jun 3, 2026
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