Skip to content

Conversation

tarcieri
Copy link
Member

No description provided.

@tarcieri
Copy link
Member Author

Huh, guess --feature-powerset doesn't include optional dependencies. TIL

@tarcieri tarcieri merged commit 0b65719 into master Sep 26, 2025
14 checks passed
@tarcieri tarcieri deleted the ci/cargo-hack branch September 26, 2025 14:19
@newpavlov
Copy link
Member

We could define the features explicitly:

[depednencies]
opt_dep = { version = "*", optional = true }

[features]
opt_dep = ["dep:opt_dep"]

@tarcieri
Copy link
Member Author

@newpavlov yeah, that's another solution. I ended up using the --optional-deps flag FWIW, though it would be nice for it to be automatic

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