Skip to content

#288 chore: drop dependencies the examples no longer need - #289

Merged
RAprogramm merged 1 commit into
mainfrom
288
Jul 27, 2026
Merged

#288 chore: drop dependencies the examples no longer need#289
RAprogramm merged 1 commit into
mainfrom
288

Conversation

@RAprogramm

Copy link
Copy Markdown
Owner

Closes #288

Since generated code started reaching the runtime through the facade, an example no longer has to name the crates an expansion mentions. Ten manifests still did. Each flagged dependency was removed and the example rebuilt, so what is gone is verified gone: async-trait, serde_json, entity-core, masterror, tokio-stream and tower-http across the ten crates. Dropping masterror also removed a stale 0.27 pin two minors behind the facade.

serde and utoipa stay: they are reached only through derives the macro emits, which the heuristic cannot see. Each manifest now says so in its cargo-machete metadata rather than leaving the next reader to rediscover it.

A cargo machete job joins CI. The examples are the reference dependency set for a consumer — a leftover there teaches the wrong thing, and would quietly hide the facade regressing back to naming runtime crates in expansions.

@RAprogramm
RAprogramm merged commit adabe68 into main Jul 27, 2026
27 checks passed
@RAprogramm
RAprogramm deleted the 288 branch July 27, 2026 01:28
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.

Example crates declare dependencies the generated code no longer needs

1 participant