diff --git a/Cargo.lock b/Cargo.lock index dae095bf..9684657e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,7 +258,7 @@ dependencies = [ "grep-matcher", "grep-regex", "log", - "memmap", + "memmap2", "regex", ] @@ -358,13 +358,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" [[package]] -name = "memmap" -version = "0.7.0" +name = "memmap2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" +checksum = "e73be3b7d04a0123e933fea1d50d126cc7196bbc0362c0ce426694f777194eee" dependencies = [ "libc", - "winapi", ] [[package]] diff --git a/crates/searcher/Cargo.toml b/crates/searcher/Cargo.toml index f4e3c73c..57448388 100644 --- a/crates/searcher/Cargo.toml +++ b/crates/searcher/Cargo.toml @@ -19,7 +19,7 @@ encoding_rs = "0.8.14" encoding_rs_io = "0.1.6" grep-matcher = { version = "0.1.2", path = "../matcher" } log = "0.4.5" -memmap = "0.7" +memmap = { package = "memmap2", version = "0.2.0" } [dev-dependencies] grep-regex = { version = "0.1.3", path = "../regex" }