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

New release with updated dependencies or less strict version ranges #5

Open
jhorstmann opened this issue Jun 5, 2020 · 2 comments
Open

Comments

@jhorstmann
Copy link

I tried updating dependencies in a cargo project and ran into an issue with a transitive dependency on once_cell = "1.2.*". Assuming once_cell correclty follows semantic versioning, the newer version 1.3.x or 1.4 should be compatible. Or was there a specific breaking change that requires staying with 1.2?

error: failed to select a version for `once_cell`.
    ... required by package `futures-task v0.3.5`
    ... which is depended on by `futures-util v0.3.5`
    ... which is depended on by `xxxxx`
versions that meet the requirements `^1.3.1` are: 1.4.0, 1.3.1

all possible versions conflict with previously selected packages.

  previously selected package `once_cell v1.2.0`
    ... which is depended on by `antlr-rust v0.1.1`
    ... which is depended on by `yyyyy`
    ... which is depended on by `xxxxx`

failed to select a version for `once_cell` which could resolve this conflict
@rrevenantt
Copy link
Owner

I think i just initially set it to 1.2 because back then I didn't know a lot about how versioning works in rust. Changing it to ^1.2 shouldn't be a breaking change, so I will do it for next versions.

@jhorstmann
Copy link
Author

@rrevenantt Do you have any plans when the next version might be released? Or would you be interested in a pull request that just bumps dependencies to the newest version?

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

No branches or pull requests

2 participants