forked from meli/meli
1
Fork 0

Update cargo dependencies

Concerns #242 - "Compilation failure on master on OpenBSD"
fix/242
Manos Pitsidianakis 2023-07-03 11:19:52 +03:00
parent e3dfeaad7e
commit 957abf4e72
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
2 changed files with 615 additions and 481 deletions

1089
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -579,7 +579,7 @@ mod regexp {
ucp: bool,
jit_if_available: bool,
) -> std::result::Result<Self, pcre2::Error> {
Ok(Self(unsafe {
Ok(Self(
pcre2::bytes::RegexBuilder::new()
.caseless(caseless)
.dotall(dotall)
@ -587,9 +587,8 @@ mod regexp {
.multi_line(multi_line)
.ucp(ucp)
.jit_if_available(jit_if_available)
.disable_utf_check() // We only match on rust strings, which are guaranteed UTF8
.build(pattern)?
}))
.build(pattern)?,
))
}
pub fn find_iter<'w, 's>(&'w self, s: &'s str) -> FindIter<'w, 's> {