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

update autocfg dependecy version, for no conflicts #9

Open
damooo opened this issue May 1, 2022 · 7 comments
Open

update autocfg dependecy version, for no conflicts #9

damooo opened this issue May 1, 2022 · 7 comments

Comments

@damooo
Copy link

damooo commented May 1, 2022

Currently, autocfg crate dependecy set to ~1.0, and pegged to minor release.

It's current active minor version is 1.1, and many crates like dashmap, etc. use that version.

And this causes conflicts, and render claim unusable with many crates.

It should better pegged to major version, like ^1.

@Anders429
Copy link
Contributor

I'm being affected by this quite a bit. This crate is almost unusable in any larger project due to the versioning conflict. Turns out autocfg is a really popular dependency lol.

For reference, this cargo issue calls out the tilde operator as violating version contract. I think removing it, as is done in #10, is definitely the correct solution.

@Turbo87
Copy link
Contributor

Turbo87 commented Jun 23, 2022

FWIW you can work around it like in https://github.com/rust-lang/crates.io/pull/4857/files, but it's obviously not a long-term solution

@dmrolfs
Copy link

dmrolfs commented Jul 19, 2022

agreed this is an issue and claim is problematic to use without this update. This is a really useful test crate. Hopefully it'll be added and published!

@ghost
Copy link

ghost commented Aug 31, 2022

I forked this library and created https://github.com/mattwilkinsonn/rust-claims so I can continue to use this library. It is available on crates.io - https://crates.io/crates/claims. Feel free to use this, at least until this library can be updated again.

@Anders429
Copy link
Contributor

Anders429 commented Aug 31, 2022

@mattwilkinsonn thanks a ton! Do you have any interest in also merging #8 into your fork?

@yanns
Copy link

yanns commented Oct 12, 2022

Thanks a lot for the temporary fork. This has unblocked us for dependencies update!

This was referenced Jan 15, 2023
@jclmnop
Copy link

jclmnop commented Jan 24, 2023

I forked this library and created https://github.com/mattwilkinsonn/rust-claims so I can continue to use this library. It is available on crates.io - https://crates.io/crates/claims. Feel free to use this, at least until this library can be updated again.

Thanks, I was starting to get a massive headache from this.

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 a pull request may close this issue.

6 participants