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 precise dependency versions in Cargo.toml #432

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

mgeisler
Copy link
Owner

@mgeisler mgeisler commented Feb 5, 2022

Following the advice from the Rust forum, this PR updates Cargo.toml to use precise version numbers for all dependencies. The latest versions at the time of writing are used.

It turns out that we made precisely the mistake mentioned in the post:

% cargo -Z minimal-versions update
% cargo test

failed on nightly because of the dependency on smawk 0.3: we need 0.3.1 after #421.

Following the advice from [1], this PR updates Cargo.toml to use
precise version numbers for all dependencies. The latest versions at
the time of writing are used.

It turns out that we made precisely the mistake mentioned in the post:

```
% cargo -Z minimal-versions update
% cargo test
```

failed on nightly because of the dependency on smawk 0.3: we need
0.3.1 after #421.

[1]: https://users.rust-lang.org/t/psa-please-specify-precise-dependency-versions-in-cargo-toml/71277
@mgeisler mgeisler force-pushed the precise-dep-version-numbers branch from 5986a90 to 55c1aa4 Compare February 5, 2022 23:02
@mgeisler mgeisler merged commit be55b0c into master Feb 5, 2022
@mgeisler mgeisler deleted the precise-dep-version-numbers branch February 5, 2022 23:17
@github-actions github-actions bot mentioned this pull request Feb 27, 2022
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

Successfully merging this pull request may close these issues.

1 participant