non-target-specific / unconditional dependencies on potentially unusable credential providers #12945
Labels
A-credential-provider
Area: credential provider for storing and retreiving credentials
I see that different credentials providers were recently merged: #12334
Is there a reason why the dependencies for the various credentials providers are unconditional? This is kind of awkward, especially for Linux distributions, where we package the "cargo" crate (for example, as a dependency of "cargo-c"), and cannot package macOS- and Windows-specific crates like windows-sys or security-framework.
I would have thought that the libsecret provider could be specific to Linux/BSD, the macOS keychain provider specific to ... well, macOS, and the wincred provider specific to windows targets. Right cargo pulls in all of them unconditionally - should they be optional and / or target-scoped?
PS: The published crates for the new cargo-credentials* crates also don't contain the required MIT / Apache-2.0 license files. I can submit a PR for that, if it helps.
The text was updated successfully, but these errors were encountered: