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

Won't compile after regex 1.9.0 #84

Closed
utkarshgupta137 opened this issue Jul 5, 2023 · 2 comments · Fixed by #85
Closed

Won't compile after regex 1.9.0 #84

utkarshgupta137 opened this issue Jul 5, 2023 · 2 comments · Fixed by #85

Comments

@utkarshgupta137
Copy link
Contributor

error[E0432]: unresolved import `regex::internal`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/httpmock-0.6.7/src/server/mod.rs:19:12
   |
19 | use regex::internal::Input;
   |            ^^^^^^^^ could not find `internal` in `regex`

See: rust-lang/regex#978

@empwilli
Copy link

empwilli commented Jul 5, 2023

Can also confirm this issue. In the meantime I used the following to pin the regex dependency version:

[patch.crates-io]
regex = { git = "https://github.com/rust-lang/regex.git", tag = "1.8.4" }

@alexliesenfeld
Copy link
Owner

Should now be fixed with #86 and v0.6.8.

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.

3 participants