diff --git a/Cargo.toml b/Cargo.toml index 43611de..b01722d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,9 @@ categories = [ ssri = "7.0.0" hex = "0.4.3" tempfile = "3.2.0" -sha-1 = "0.9.8" -sha2 = "0.9.8" -digest = "0.9.0" +sha-1 = "0.10.0" +sha2 = "0.10.1" +digest = "0.10.2" serde_json = "1.0.68" serde = "1.0.130" serde_derive = "1.0.130" @@ -28,7 +28,7 @@ either = "1.6.1" async-std = { version = "1.10.0", features = ["unstable"] } thiserror = "1.0.29" futures = "0.3.17" -memmap2 = "0.5" +memmap = "0.7.0" [dev-dependencies] async-attributes = "1.1.2" diff --git a/src/content/write.rs b/src/content/write.rs index 4365353..7861525 100644 --- a/src/content/write.rs +++ b/src/content/write.rs @@ -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 memmap2::MmapMut; +use memmap::MmapMut; use ssri::{Algorithm, Integrity, IntegrityOpts}; use tempfile::NamedTempFile;