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

Enable --all-features when building source distribution #2215

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

messense
Copy link
Member

When building sdist, cargo metadata command should output all dependencies including optional ones, otherwise the resulting sdist file may not compile when building with optional features activated.

Enabling --all-features ensure that all optional path dependencies to be packaged into sdist, which should help with #2117.

Copy link

netlify bot commented Sep 10, 2024

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 523a7fd
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/66dfa083cc450c0008723ee7
😎 Deploy Preview https://deploy-preview-2215--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

When building sdist, `cargo metadata` command should output
all dependencies including optional ones, otherwise the resulting
sdist file may not compile when building with optional features
activated.

Enabling `--all-features` ensure that all optional path dependencies
to be packaged into sdist, which should help with #2117.
@messense messense merged commit 2260d59 into main Sep 10, 2024
29 checks passed
@messense messense deleted the build-sdist-with-all-features branch September 10, 2024 04:04
@messense messense linked an issue Sep 10, 2024 that may be closed by this pull request
2 tasks
danking added a commit to spiraldb/vortex that referenced this pull request Sep 10, 2024
robert3005 pushed a commit to spiraldb/vortex that referenced this pull request Sep 10, 2024
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.

Building sdist fails if a crate in workspace isn't used
1 participant