Skip to content

chore(tools): drop the unused httpmock dependency - #317

Merged
FalkWoldmann merged 1 commit into
masterfrom
remove-tools-httpmock-dep
Sep 27, 2026
Merged

FalkWoldmann merged 1 commit into
masterfrom
remove-tools-httpmock-dep

Conversation

@FalkWoldmann

Copy link
Copy Markdown
Member

The tools/ extractors read httpmock's sources with syn and never link the crate, so make docs was compiling httpmock with every feature for nothing. Nightly cargo flags it as an unused dependency.

I ran all four extractors with and without the dependency; the generated JSON has the same content. (example_tests.json comes out in a different key order between runs either way, since it's built from a HashMap.)

Touches the same line as #316, which drops experimental from this feature list, so whichever merges second needs a one-line fix.

@codecov

codecov Bot commented Sep 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

The doc extractors parse the sources with syn and never link httpmock,
so building them compiled the whole crate with every feature for nothing.
@FalkWoldmann
FalkWoldmann force-pushed the remove-tools-httpmock-dep branch from c27ec38 to 155d5a0 Compare September 27, 2026 20:13
@FalkWoldmann
FalkWoldmann merged commit 4ac6edf into master Sep 27, 2026
15 checks passed
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