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

fix(common): feature flagged utoipa dependency #817

Merged

Conversation

iulianbarbu
Copy link
Contributor

@iulianbarbu iulianbarbu commented Apr 25, 2023

Description of change

User projects have a dependency on shuttle-common, which depends on utoipa. Howerver, utoipa dependency is not relevant to the user projects so this PR is feature gating the use of utoipa dependency and makes it optional when consuming shuttle-common.

How Has This Been Tested (if applicable)?

Created a shuttle-rocket project, built it, and verified that utoipa is not appearing as a dependency in the target directory.

@iulianbarbu iulianbarbu requested review from oddgrd and chesedo April 25, 2023 10:32
@iulianbarbu iulianbarbu changed the title fix(shuttle-common): feature flagged utoipa dependency fix(common): feature flagged utoipa dependency Apr 25, 2023
Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks Iulian!

@iulianbarbu iulianbarbu merged commit 9ddd3d5 into shuttle-hq:main Apr 25, 2023
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