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(toml)!: Disallow source-less dependencies #13775

Merged
merged 1 commit into from
Apr 18, 2024

Commits on Apr 18, 2024

  1. fix(toml)!: Disallow source-less dependencies

    This is part of rust-lang#13629
    
    This turns deps like
    ```toml
    foo = { optional = true }
    ```
    from `version="*"` deps with a warning into errors.
    This breaking change was deemed acceptable because this behavior has
    been considered a bug from the beginning.
    We have gotten little to no feedback about people wanting this behavior.
    
    This improves our forwards-compatibility story as we can add new
    dependency sources and they won't be considered a wildcard registry
    dependency on older cargo.
    epage committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    cf23e4b View commit details
    Browse the repository at this point in the history