Skip to content

Drop superfluous dependencies pulled in by jsonschema#743

Closed
Shnatsel wants to merge 2 commits intoCycloneDX:mainfrom
Shnatsel:trim-jsonschema-deps
Closed

Drop superfluous dependencies pulled in by jsonschema#743
Shnatsel wants to merge 2 commits intoCycloneDX:mainfrom
Shnatsel:trim-jsonschema-deps

Conversation

@Shnatsel
Copy link
Copy Markdown
Contributor

@Shnatsel Shnatsel commented Jul 16, 2024

jsonschema's default features transitively pulled in reqwest and the entire underlying stack with mio, tokio, and a whole lot of other networking dependencies. We shouldn't have pulled in any of it in the first place, since JSON schemas are only used in tests, and we especially don't need any of its networking functionality.

#740 appears to have stalled, so splitting this into its own PR to expedite things.

This does not fully address #741, but gets rid of the most egregious bloat. This is a semver-compatible change that we can ship immediately.

@Shnatsel Shnatsel requested a review from a team as a code owner July 16, 2024 06:38
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
@Shnatsel Shnatsel force-pushed the trim-jsonschema-deps branch from 8f7ba9c to 39de512 Compare July 16, 2024 06:39
Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
@Shnatsel
Copy link
Copy Markdown
Contributor Author

Wait, nevermind, we already have non-semver-compatible changes in master. I'll have to do a backport.

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