update `autocfg` dependecy version, for no conflicts
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.
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.
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
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!
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.
@mattwilkinsonn thanks a ton! Do you have any interest in also merging #8 into your fork?
Thanks a lot for the temporary fork. This has unblocked us for dependencies update!
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.