fix(security): replaced memmap with memmap2 (#30)

This commit is contained in:
Christian Haynes 2022-01-23 13:01:18 -05:00 committed by Kat Marchán
parent 9c3cf994ec
commit 03d4596baa
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ either = "1.6.1"
async-std = { version = "1.10.0", features = ["unstable"] }
thiserror = "1.0.29"
futures = "0.3.17"
memmap = "0.7.0"
memmap2 = "0.5"
[dev-dependencies]
async-attributes = "1.1.2"

View File

@ -9,7 +9,7 @@ use async_std::future::Future;
use async_std::task::{self, Context, JoinHandle, Poll};
use futures::io::AsyncWrite;
use futures::prelude::*;
use memmap::MmapMut;
use memmap2::MmapMut;
use ssri::{Algorithm, Integrity, IntegrityOpts};
use tempfile::NamedTempFile;