Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce library size by reducing dependency features #16

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

bachp
Copy link
Contributor

@bachp bachp commented Feb 15, 2024

Reduce the enabled features for dependencies to only the ones really needed.

This allows library consumers to only enable the features they need in addition to the ones used by oasgen.

Move tokio to dev dependencies as it is only needed for the examples.

It is only directly needed in the examples.

Having tokio with features = [ "full" ] as a dependency means that applications
can't select less features for their usage of tokio.
This allows users of the library to disable-default features of axum
@kurtbuilds
Copy link
Owner

Sounds good, thank you!

@kurtbuilds kurtbuilds merged commit c00d47b into kurtbuilds:master Feb 15, 2024
1 check 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.

2 participants