From 0ee85a89f5b0c6a34d9f2fba7f9aaee8527bc90c Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 12 Jun 2021 07:53:42 -0400 Subject: [PATCH] deps: update to memmap2 Looking at the changelog for memmap2, the only breaking change was to MmapOptions, which we don't use. So no migration is needed. --- Cargo.lock | 6 ++++-- crates/searcher/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 51a6bd8a..3407465f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.7.18" @@ -338,9 +340,9 @@ checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" [[package]] name = "memmap2" -version = "0.2.3" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" +checksum = "20ff203f7bdc401350b1dbaa0355135777d25f41c0bbc601851bbd6cf61e8ff5" dependencies = [ "libc", ] diff --git a/crates/searcher/Cargo.toml b/crates/searcher/Cargo.toml index 8d3eda8d..d96a8d8b 100644 --- a/crates/searcher/Cargo.toml +++ b/crates/searcher/Cargo.toml @@ -20,7 +20,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 = { package = "memmap2", version = "0.2.0" } +memmap = { package = "memmap2", version = "0.3.0" } [dev-dependencies] grep-regex = { version = "0.1.3", path = "../regex" }