Skip to content

Conversation

@pchickey
Copy link
Contributor

parse_arg 0.1.6 does not build with stable.

parse_arg 0.1.6 does not build with stable.
@pchickey pchickey enabled auto-merge (squash) March 17, 2025 22:08
@pchickey pchickey merged commit c3ac35b into main Mar 17, 2025
6 checks passed
@pchickey pchickey deleted the pch/dep_equals_parse_arg branch March 17, 2025 22:08
pchickey added a commit that referenced this pull request Mar 17, 2025
just a patch release: only change from 0.21.0 is #381 which pins a dep to not use semver
@pchickey pchickey mentioned this pull request Mar 17, 2025
pchickey added a commit that referenced this pull request Mar 17, 2025
just a patch release: only change from 0.21.0 is #381 which pins a dep to not use semver
owo-colors = "4.0.0"
p256 = "0.13.2"
parse_arg = "0.1.4"
parse_arg = "=0.1.4"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, this is quite broken solution because it will prevent updates to parse_arg. Projects should generally use Cargo.lock to pin their dependencies.

However, I'm looking into the cause of this issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our users install cargo-component as a binary using cargo install cargo-component so anyone who didnt pass --locked would fail to install. This crate is not intended to be used as a library.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, true, it's cargo's fault that --locked is not default and this kind of pinning does make sense for you now that I understand your usage. Regardless, it's fixed now.

pchickey added a commit that referenced this pull request Apr 22, 2025
pchickey added a commit that referenced this pull request Apr 22, 2025
* Revert "Cargo.toml: don't accept semver-compatible with parse_arg 0.1.4 (#381)"

This reverts commit c3ac35b.

* update parse-arg to 0.1.6
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.

4 participants