Skip to content

docs(inspect-presidio): a crate README, and make every crate publishable - #101

Merged
CharmingGroot merged 1 commit into
mainfrom
docs/presidio-crate-readme
Sep 1, 2026
Merged

CharmingGroot merged 1 commit into
mainfrom
docs/presidio-crate-readme

Conversation

@CharmingGroot

Copy link
Copy Markdown
Owner

Two things a reader looks for first, missing.

The crate README

pasu-pii-kr has a README, keywords, categories and a readme field. The new crate had a bare description, so on crates.io it would have been a name and one line.

The README leads with what crosses, what does not, and why — the four things that do not survive a Presidio import are the crate's actual subject, and leaving them in rustdoc puts them where nobody deciding whether to use it will look.

Its usage example is a doctest, not a code fence, so the compiler owns it. A README example that has drifted from the API is worse than none: it is confidently wrong, and it is the first thing anyone runs.

No crate here could be published

Every pasu-to-pasu dependency was path-only:

pasu-core = { path = "../pasu-core" }

cargo refuses to publish a crate whose dependency carries no version, so the crates.io step would have failed on the first attempt — for all of them, for a reason unrelated to the code.

Versions are aligned at 0.2.0 across the workspace, so each path dependency now carries one. Verified with cargo package on both ends of the graph:

pasu-core 패키징 가능
pasu-inspect-presidio 패키징 가능

Nine files touched, all mechanical.

🤖 Generated with Claude Code

The new crate shipped without the things a reader looks for first. pasu-pii-kr
has a README, keywords, categories and a readme field; this had a bare
description and nothing else, so on crates.io it would have been a name and one
line.

The README says what crosses, what does not and why — the four things that do
not survive a Presidio import are the crate's actual subject, and burying them
in rustdoc leaves them where nobody deciding whether to use it will look.

Its usage example is a doctest rather than a code fence, so the compiler owns it.
A README example that has drifted from the API is worse than none: it is
confidently wrong, and it is the first thing anyone runs.

Separately, no crate here could be published at all. Every pasu-to-pasu
dependency was path-only, and cargo refuses to publish a crate whose dependency
carries no version — so the crates.io step would have failed on the first
attempt, for all of them, for a reason that has nothing to do with the code.
Versions are aligned at 0.2.0 across the workspace, so each path dependency now
carries one. Verified with cargo package on both ends of the graph.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@CharmingGroot
CharmingGroot merged commit 920b682 into main Sep 1, 2026
5 checks passed
@CharmingGroot
CharmingGroot deleted the docs/presidio-crate-readme branch September 1, 2026 02:51
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