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

Use workspace versioning and relax hashbrown/indexmap deps #956

Merged
merged 3 commits into from
Aug 7, 2023

Commits on Aug 1, 2023

  1. Use workspace versioning and relax hashbrown/indexmap deps

    This commit does two things: first, switch a lot of metadata-definition
    to use the workspace-package inheritance allowed since Rust 1.64
    (including several shared dependencies); second, relax the installation
    requirements on `indexmap` and `hashbrown` to allow both to use their
    most recent two majors.  Dependents can then install `rustworkx-core`
    using either (say) `hashbrown 0.13.2` or `hashbrown 0.14.0` as desired,
    and similar between `indexmap 1.9.3` and `indexmap 2.0.0`.
    
    This commit leaves the lock file in the `hashbrown 0.14.0`, `indexmap
    2.0.0` state, although note that some other crate dependents still use
    `hashbrown 0.12.3` internally, but this doesn't matter for the public
    API surface.  I tested it manually in the `hashbrown 0.13.2`, `indexmap
    1.9.3` state by updating those two dependencies with:
    
        cargo update -p '[email protected]' --precise 1.9.3
        cargo update -p '[email protected]' --precise 0.13.2
        cargo update -p '[email protected]'
    jakelishman committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    85f5334 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb54a0b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    92c45cd View commit details
    Browse the repository at this point in the history