You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see anywhere in the grep crate which requires the memmap crate, which is specified in the Cargo.toml. I assume this was probably an artifact of the grep crate once being part of ripgrep, which requires memmaps.
The text was updated successfully, but these errors were encountered:
You're indeed correct. In the long ago, ripgrep (formerly called rep) was my playground for testing the regex library. I initially tried to move all search code into a separate grep crate, but couldn't quite figure out how to do it. So I ended up splitting a good chunk of it back out into ripgrep proper, and probably just forgot to get rid of the memmap dependency.
I am planning on moving the search code back into the grep crate, at which point, the memmap dependency may return. (What I know now that I was missing before is that the search code needs to be abstract over a sink/printer interface.)
I don't see anywhere in the grep crate which requires the memmap crate, which is specified in the Cargo.toml. I assume this was probably an artifact of the grep crate once being part of ripgrep, which requires memmaps.
The text was updated successfully, but these errors were encountered: