Skip to content

chore: clean up dead code, add rust docs to http crates#16

Merged
bordumb merged 7 commits intomainfrom
dev-tier2Polish
Mar 3, 2026
Merged

chore: clean up dead code, add rust docs to http crates#16
bordumb merged 7 commits intomainfrom
dev-tier2Polish

Conversation

@bordumb
Copy link
Contributor

@bordumb bordumb commented Mar 3, 2026

No description provided.

bordumb added 7 commits March 3, 2026 23:26
Remove truly unused code (IncidentType, CommitReceiptPayload, tree_ops
helpers, build_attributes, etc.), remove unnecessary annotations on
actually-used items (CliError, visit_orgs), and add justifying comments
on annotations that remain (serde targets, stub impls, feature-gated APIs).
Tests referenced the deleted CommitReceiptPayload struct. Also restore
dead_code annotation on visit_orgs since it's only called from
feature-gated code.
Add crate metadata (keywords, categories) to auths-sdk, auths-crypto,
auths-telemetry, auths-storage, auths-infra-git, and auths-infra-http
for crates.io discoverability.
Add //! doc blocks explaining purpose and listing public modules,
following the pattern from auths-storage/src/lib.rs.
Add post_json method to RegistryClient trait and implement it in
HttpRegistryClient. Refactor register_identity() to accept
&impl RegistryClient instead of using reqwest directly. Update
CLI callers to pass HttpRegistryClient. Remove reqwest dependency
from auths-sdk and update deny.toml wrappers.
Add proptest-based tests for validate_kel() covering:
- SAID integrity (recomputed SAID matches d field)
- Duplicate/out-of-order sequence rejection
- Broken chain detection (corrupted p field)
- Multiple inception rejection
- Wrong rotation key rejection (commitment mismatch)
- Valid KEL replay idempotency
- KEL with rotation replays correctly
@bordumb bordumb self-assigned this Mar 3, 2026
@vercel
Copy link

vercel bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auths Ready Ready Preview, Comment Mar 3, 2026 11:49pm

@bordumb bordumb merged commit 88246fa into main Mar 3, 2026
6 of 7 checks passed
@bordumb bordumb deleted the dev-tier2Polish branch March 3, 2026 23:49
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