Skip to content

Commit 5319a4f

Browse files
committed
Switch to maintained version of mmap
1 parent 72c58ff commit 5319a4f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ rusoto_credential = "0.46.0"
7777
# Data serialization and deserialization
7878
serde = { version = "1.0", features = ["derive"] }
7979
serde_json = "1.0"
80-
memmap = "0.7.0"
80+
memmap2 = "0.5.0"
8181

8282
# iron dependencies
8383
iron = "0.6"

src/storage/archive_index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::error::Result;
22
use crate::storage::{compression::CompressionAlgorithm, FileRange};
33
use anyhow::{bail, Context as _};
4-
use memmap::MmapOptions;
4+
use memmap2::MmapOptions;
55
use serde::de::DeserializeSeed;
66
use serde::de::{IgnoredAny, MapAccess, Visitor};
77
use serde::{Deserialize, Deserializer, Serialize};

0 commit comments

Comments
 (0)