From a5f9de8ffcf99800c5bd1a124d0a04e5a0587e08 Mon Sep 17 00:00:00 2001 From: XtremeDevX Date: Tue, 15 Feb 2022 12:24:18 +0400 Subject: [PATCH] :ambulance: `memmap2` -> `memmap` & bump deps --- Cargo.toml | 8 ++++---- src/content/write.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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;