alexliesenfeld / httpmock

HTTP mocking library for Rust
https://httpmock.rs
MIT License
472 stars 42 forks source link

Issues with hard pinning dependencies #23

Closed UebelAndre closed 3 years ago

UebelAndre commented 3 years ago

Can you actually not hard pin everything? I didn't realize what affect this would have downstream when you first mentioned it in #21

error: failed to select a version for `regex`.
    ... required by package `httpmock v0.5.1`
    ... which is depended on by `cargo-raze v0.6.1 (/Users/user/Code/cargo-raze/impl)`
versions that meet the requirements `=1.3.9` are: 1.3.9

all possible versions conflict with previously selected packages.

  previously selected package `regex v1.4.1`
    ... which is depended on by `cargo-clone-crate v0.1.4`
    ... which is depended on by `cargo-raze v0.6.1 (/Users/user/Code/cargo-raze/impl)`
alexliesenfeld commented 3 years ago

Yes, indeed. Sorry for the trouble (it's late in Germany). I'll remove exact version pinning and will update all dependencies instead.

UebelAndre commented 3 years ago

Kein Problem! Vielen Dank für die harte Arbeit!! 😃

UebelAndre commented 3 years ago

You could probably unpin everything for now. The library was usable again after #20 was merged. If that would be easier. Updating dependencies can be a pain sometimes 😅

alexliesenfeld commented 3 years ago

Yes, it's already worked in that way in #22 . Just waiting for CI test results again.

alexliesenfeld commented 3 years ago

this should be fixed with #22 (v0.5.2)