Skip to content

C-STABLE too restrictive? #267

Description

@tobiasvl

C-STABLE says:

A crate cannot be stable (>=1.0.0) without all of its public dependencies being stable.

However, Cargo treats unstable versions in a special way:

The version 0.0.x is not considered compatible with any other version.

Since this means that Cargo will not allow any updates of an unstable dependency specified as version 0.0.x because it might contain breaking changes, it seems to me that a stable crate can have an unstable dependency that is specified as version 0.0.x, and that C-STABLE should only apply to crates that have dependencies on the forms 0.x or 0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions