Switch to memmap2 fork

This commit is contained in:
Trent Nelson
2020-12-11 13:57:43 -07:00
committed by mergify[bot]
parent 730cb3b7cc
commit edff62af3d
8 changed files with 26 additions and 18 deletions

View File

@ -22,7 +22,7 @@ full = [
"byteorder",
"chrono",
"generic-array",
"memmap",
"memmap2",
"rand",
"rand_chacha",
"serde_json",
@ -48,7 +48,7 @@ hmac = "0.7.0"
itertools = "0.9.0"
lazy_static = "1.4.0"
log = "0.4.8"
memmap = { version = "0.7.0", optional = true }
memmap2 = { version = "0.1.0", optional = true }
num-derive = "0.3"
num-traits = "0.2"
pbkdf2 = { version = "0.3.0", default-features = false }

View File

@ -20,7 +20,7 @@ use crate::{
};
use bincode::{deserialize, serialize};
use chrono::{TimeZone, Utc};
use memmap::Mmap;
use memmap2::Mmap;
use std::{
collections::BTreeMap,
fmt,